Stores the current draw buffer parameters. More...
#include <Inventor/elements/SoDrawBufferElement.h>
Public Types | |
enum | SoDrawBufferType { FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, FRONT, BACK, LEFT, RIGHT, FRONT_AND_BACK } |
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoDrawBufferType type) |
static SoDrawBufferType | get (SoState *state) |
This element stores the current draw buffer parameters used for rendering, including:
static SoDrawBufferType SoDrawBufferElement::get | ( | SoState * | state | ) | [static] |
Returns current depth buffer parameters.
static int SoDrawBufferElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoInt32Element.
static SoType SoDrawBufferElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoInt32Element.
virtual void SoDrawBufferElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoInt32Element.
static void SoDrawBufferElement::set | ( | SoState * | state, | |
SoDrawBufferType | type | |||
) | [static] |
Sets the depth buffer parameters.
This method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values