SLProject 4.0.000
|
Drawing states stored in the bits of an unsigned int. More...
#include <SLDrawBits.h>
Public Member Functions | |
SLDrawBits () | |
~SLDrawBits () | |
void | allOff () |
Turns all bits off. More... | |
void | on (SLuint bit) |
Turns the specified bit on. More... | |
void | off (SLuint bit) |
Turns the specified bit off. More... | |
void | set (SLuint bit, SLbool state) |
Sets the specified bit to the passed state. More... | |
void | toggle (SLuint bit) |
Toggles the specified bit. More... | |
SLbool | get (SLuint bit) |
Returns the specified bit. More... | |
SLuint | bits () |
Returns the all bits. More... | |
void | bits (SLuint b) |
Set all bits. More... | |
Private Attributes | |
SLuint | _bits |
Drawing flags as a unsigned 32-bit register. More... | |
Drawing states stored in the bits of an unsigned int.
The drawing bits can be applied to the entire scene, a group or a mesh. The default value is 0 signifying the default state. See the defines above for the different drawing bit flags.
|
inline |
|
inline |
|
inline |
Turns all bits off.
|
inline |
Returns the all bits.
|
inline |
Set all bits.
|
inline |
Turns the specified bit off.
|
inline |
Turns the specified bit on.
Sets the specified bit to the passed state.
|
inline |
Toggles the specified bit.
|
private |
Drawing flags as a unsigned 32-bit register.