csRenderBuffer::Props Struct Reference
To scrape off a few bytes use bitfields; assumes values are in sane limits. More...
#include <csgfx/renderbuffer.h>
Public Member Functions | |
Props (csRenderBufferType type, csRenderBufferComponentType componentType, uint componentCount, bool copy) | |
Public Attributes | |
csRenderBufferType | bufferType: 2 |
hint about main usage | |
uint | compCount: 8 |
number of components per element | |
csRenderBufferComponentType | comptype: 4 |
datatype for each component | |
bool | doCopy: 1 |
should we copy data, or just use supplied buffer | |
bool | doDelete: 1 |
if buffer should be deleted on deallocation | |
bool | isIndex: 1 |
if this is index-buffer | |
bool | isLocked: 1 |
currently locked? (to prevent recursive locking) | |
uint | lastLock: 2 |
last type of lock used | |
size_t | offset: 8 |
offset from buffer start to data | |
size_t | stride: 8 |
buffer stride |
Detailed Description
To scrape off a few bytes use bitfields; assumes values are in sane limits.
Definition at line 251 of file renderbuffer.h.
Member Data Documentation
The documentation for this struct was generated from the following file:
- csgfx/renderbuffer.h
Generated for Crystal Space by doxygen 1.4.7