Inheritance diagram for osg::PolygonMode:
Public Types | |
enum | Mode { POINT = GL_POINT, LINE = GL_LINE, FILL = GL_FILL } |
enum | Face { FRONT_AND_BACK, FRONT, BACK } |
Public Member Functions | |
PolygonMode () | |
PolygonMode (const PolygonMode &pm, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_StateAttribute (osg, PolygonMode, POLYGONMODE) | |
virtual int | compare (const StateAttribute &sa) const |
void | setMode (Face face, Mode mode) |
Mode | getMode (Face face) const |
bool | getFrontAndBack () const |
virtual void | apply (State &state) const |
Protected Member Functions | |
virtual | ~PolygonMode () |
Protected Attributes | |
Mode | _modeFront |
Mode | _modeBack |
|
|
|
|
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy. |
|
|
|
apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. Implements osg::StateAttribute. |
|
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. Implements osg::StateAttribute. |
|
|
|
|
|
|
|
|
|
|
|
|