CrystalSpace

Public API Reference

csRenderBuffer::Props Struct Reference

To scrape off a few bytes use bitfields; assumes values are in sane limits. More...

#include <csgfx/renderbuffer.h>

List of all members.

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 274 of file renderbuffer.h.


Member Data Documentation

hint about main usage

Definition at line 277 of file renderbuffer.h.

number of components per element

Definition at line 282 of file renderbuffer.h.

datatype for each component

Definition at line 279 of file renderbuffer.h.

should we copy data, or just use supplied buffer

Definition at line 289 of file renderbuffer.h.

if buffer should be deleted on deallocation

Definition at line 291 of file renderbuffer.h.

if this is index-buffer

Definition at line 295 of file renderbuffer.h.

currently locked? (to prevent recursive locking)

Definition at line 293 of file renderbuffer.h.

last type of lock used

Definition at line 298 of file renderbuffer.h.

offset from buffer start to data

Definition at line 286 of file renderbuffer.h.

buffer stride

Definition at line 284 of file renderbuffer.h.


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