inlib
1.2.0
|
Public Member Functions | |
state () | |
virtual | ~state () |
state (const inlib::sg::state &a_from) | |
inlib::sg::state & | operator= (const inlib::sg::state &a_from) |
Public Attributes | |
bool | m_GL_DEPTH_TEST |
bool | m_GL_LIGHTING |
bool | m_GL_CULL_FACE |
bool | m_GL_POLYGON_OFFSET_FILL |
winding_type | m_winding |
std::vector< float > | m_color |
unsigned int | m_light |
inlib::sg::state::state | ( | ) | [inline] |
Definition at line 26 of file state.
:m_GL_DEPTH_TEST(true) ,m_GL_LIGHTING(false) ,m_GL_CULL_FACE(true) ,m_GL_POLYGON_OFFSET_FILL(false) ,m_winding(winding_ccw) ,m_light(0) { #ifdef INLIB_MEM mem::increment(s_class().c_str()); #endif m_color.push_back(0); m_color.push_back(0); m_color.push_back(0); m_color.push_back(1); }
virtual inlib::sg::state::~state | ( | ) | [inline, virtual] |
inlib::sg::state::state | ( | const inlib::sg::state & | a_from | ) | [inline] |
Definition at line 50 of file state.
:m_GL_DEPTH_TEST(a_from.m_GL_DEPTH_TEST) ,m_GL_LIGHTING(a_from.m_GL_LIGHTING) ,m_GL_CULL_FACE(a_from.m_GL_CULL_FACE) ,m_GL_POLYGON_OFFSET_FILL(a_from.m_GL_POLYGON_OFFSET_FILL) ,m_winding(a_from.m_winding) ,m_color(a_from.m_color) ,m_light(a_from.m_light) { #ifdef INLIB_MEM mem::increment(s_class().c_str()); #endif }
inlib::sg::state& inlib::sg::state::operator= | ( | const inlib::sg::state & | a_from | ) | [inline] |
Definition at line 64 of file state.
{ m_GL_DEPTH_TEST = a_from.m_GL_DEPTH_TEST; m_GL_LIGHTING = a_from.m_GL_LIGHTING; m_GL_CULL_FACE = a_from.m_GL_CULL_FACE; m_GL_POLYGON_OFFSET_FILL = a_from.m_GL_POLYGON_OFFSET_FILL; m_winding = a_from.m_winding; m_color = a_from.m_color; m_light = a_from.m_light; return *this; }
std::vector<float> inlib::sg::state::m_color |
unsigned int inlib::sg::state::m_light |