#include <MercuryGLState.h>
Public Member Functions | |
MercuryGLState () | |
void | Enable (unsigned long mask) |
void | Disable (unsigned long mask) |
bool | GetState (unsigned long mask) const |
unsigned long | GetStates () const |
MercuryGLState | operator^ (const MercuryGLState &states) |
MercuryGLState | operator & (const MercuryGLState &states) |
MercuryGLState | operator &= (const MercuryGLState &states) |
Private Attributes | |
unsigned long | m_state |
Definition at line 21 of file MercuryGLState.h.
MercuryGLState::MercuryGLState | ( | ) | [inline] |
Definition at line 24 of file MercuryGLState.h.
void MercuryGLState::Enable | ( | unsigned long | mask | ) | [inline] |
Definition at line 27 of file MercuryGLState.h.
void MercuryGLState::Disable | ( | unsigned long | mask | ) | [inline] |
Definition at line 28 of file MercuryGLState.h.
bool MercuryGLState::GetState | ( | unsigned long | mask | ) | const [inline] |
Definition at line 29 of file MercuryGLState.h.
unsigned long MercuryGLState::GetStates | ( | ) | const [inline] |
Definition at line 30 of file MercuryGLState.h.
MercuryGLState MercuryGLState::operator^ | ( | const MercuryGLState & | states | ) |
Definition at line 3 of file MercuryGLState.cpp.
MercuryGLState MercuryGLState::operator & | ( | const MercuryGLState & | states | ) |
Definition at line 10 of file MercuryGLState.cpp.
MercuryGLState MercuryGLState::operator &= | ( | const MercuryGLState & | states | ) | [inline] |
Definition at line 34 of file MercuryGLState.h.
unsigned long MercuryGLState::m_state [private] |
Definition at line 36 of file MercuryGLState.h.