![]() |
Public API Reference |
#include <rndbuf.h>
Inheritance diagram for iRenderBuffer:
Public Methods | |
virtual void * | Lock (csRenderBufferLockType lockType)=0 |
Lock the buffer to allow writing and give us a pointer to the data The pointer will be NULL if there was some error. More... | |
virtual void | Release ()=0 |
Releases the buffer. After this all writing to the buffer is illegal. More... | |
virtual int | GetComponentCount ()=0 |
Gets the number of components per element. More... | |
virtual csRenderBufferComponentType | GetComponentType ()=0 |
Gets the component type. More... | |
virtual bool | IsDiscarded ()=0 |
Returns wheter the buffer is discarded or not. More... | |
virtual void | CanDiscard (bool value)=0 |
Set if buffer can be discarded or not. More... | |
virtual csRenderBufferType | GetBufferType ()=0 |
Get type of buffer (where it's located). More... | |
virtual int | GetSize ()=0 |
Get the size of the buffer (in bytes). More... |
It can ONLY be created by the VB manager
Definition at line 86 of file rndbuf.h.
|
Set if buffer can be discarded or not.
|
|
Get type of buffer (where it's located).
|
|
Gets the number of components per element.
|
|
Gets the component type.
|
|
Get the size of the buffer (in bytes).
|
|
Returns wheter the buffer is discarded or not.
|
|
Lock the buffer to allow writing and give us a pointer to the data The pointer will be NULL if there was some error.
|
|
Releases the buffer. After this all writing to the buffer is illegal.
|