SoDrawBufferElement Class Reference
[Elements]

VSG extension Stores the current draw buffer parameters. More...

#include <Inventor/elements/SoDrawBufferElement.h>

Inheritance diagram for SoDrawBufferElement:
SoInt32Element SoElement SoTypedObject

List of all members.

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)

Detailed Description

VSG extension Stores the current draw buffer parameters.

This element stores the current draw buffer parameters used for rendering, including:

SEE ALSO


Member Enumeration Documentation

Depth function mode as defined by OpenGL.

Enumerator:
FRONT_LEFT 
FRONT_RIGHT 
BACK_LEFT 
BACK_RIGHT 
FRONT 
BACK 
LEFT 
RIGHT 
FRONT_AND_BACK 

Member Function Documentation

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


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/