20 #define SL_DB_HIDDEN 1
21 #define SL_DB_NOTSELECTABLE 2
22 #define SL_DB_MESHWIRED 4
23 #define SL_DB_NORMALS 8
26 #define SL_DB_VOXELS 64
27 #define SL_DB_SKELETON 128
28 #define SL_DB_CULLOFF 256
29 #define SL_DB_OVERDRAW 512
30 #define SL_DB_WITHEDGES 1024
31 #define SL_DB_ONLYEDGES 2048
32 #define SL_DB_BRECT 4096
33 #define SL_DB_GPU_SKINNING 8192
#define SL_TOGBIT(VAR, VAL)
#define SL_SETBIT(VAR, VAL)
#define SL_DELBIT(VAR, VAL)
Drawing states stored in the bits of an unsigned int.
void off(SLuint bit)
Turns the specified bit off.
SLbool get(SLuint bit)
Returns the specified bit.
void set(SLuint bit, SLbool state)
Sets the specified bit to the passed state.
SLuint _bits
Drawing flags as a unsigned 32-bit register.
void toggle(SLuint bit)
Toggles the specified bit.
void allOff()
Turns all bits off.
void bits(SLuint b)
Set all bits.
SLuint bits()
Returns the all bits.
void on(SLuint bit)
Turns the specified bit on.