CrystalSpace

Public API Reference

csRenderBufferHolder Class Reference
[3D]

Holder of standard renderbuffers. More...

#include <ivideo/rndbuf.h>

Inheritance diagram for csRenderBufferHolder:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 csRenderBufferHolder ()
 initialize
iRenderBufferAccessorGetAccessor () const
 Query the accessor.
uint GetAccessorMask () const
 Query the accessor mask.
iRenderBufferGetRenderBuffer (csRenderBufferName bufferName)
 Get buffer by name.
iRenderBufferGetRenderBufferNoAccessor (csRenderBufferName bufferName)
 Get buffer by name.
void SetAccessor (iRenderBufferAccessor *a, uint32 mask)
 Set accessor.
void SetRenderBuffer (csRenderBufferName bufferName, iRenderBuffer *buffer)
 Set renderbuffer.

Protected Attributes

csRef
< iRenderBufferAccessor
accessor
uint32 accessorMask
csRef< iRenderBufferbuffers [CS_BUFFER_COUNT]


Detailed Description

Holder of standard renderbuffers.

@DOC MORE

Definition at line 336 of file rndbuf.h.


Constructor & Destructor Documentation

csRenderBufferHolder::csRenderBufferHolder (  )  [inline]

initialize

Definition at line 340 of file rndbuf.h.

References accessorMask.


Member Function Documentation

iRenderBufferAccessor* csRenderBufferHolder::GetAccessor (  )  const [inline]

Query the accessor.

Definition at line 387 of file rndbuf.h.

References accessor.

uint csRenderBufferHolder::GetAccessorMask (  )  const [inline]

Query the accessor mask.

Definition at line 385 of file rndbuf.h.

References accessorMask.

iRenderBuffer* csRenderBufferHolder::GetRenderBuffer ( csRenderBufferName  bufferName  )  [inline]

Get buffer by name.

If an accessor is set, it will first be called, after that the buffer will be fetched.

Definition at line 346 of file rndbuf.h.

References accessor, accessorMask, buffers, CS_BUFFER_INDEX, and CS_BUFFER_MAKE_MASKABLE.

iRenderBuffer* csRenderBufferHolder::GetRenderBufferNoAccessor ( csRenderBufferName  bufferName  )  [inline]

Get buffer by name.

This version won't call accessor

Definition at line 360 of file rndbuf.h.

References buffers, and CS_BUFFER_INDEX.

void csRenderBufferHolder::SetAccessor ( iRenderBufferAccessor a,
uint32  mask 
) [inline]

Set accessor.

Definition at line 379 of file rndbuf.h.

References accessor, and accessorMask.

void csRenderBufferHolder::SetRenderBuffer ( csRenderBufferName  bufferName,
iRenderBuffer buffer 
) [inline]

Set renderbuffer.

Definition at line 370 of file rndbuf.h.

References buffers, CS_ASSERT, and CS_BUFFER_COUNT.


The documentation for this class was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3