SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
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.
Definition at line 41 of file SLDrawBits.h.
|
inline |
Definition at line 44 of file SLDrawBits.h.
|
inline |
Definition at line 45 of file SLDrawBits.h.
|
inline |
|
inline |
|
private |
Drawing flags as a unsigned 32-bit register.
Definition at line 78 of file SLDrawBits.h.