Class SoDrawBufferElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoInt32Element
com.openinventor.inventor.elements.SoDrawBufferElement
Stores the current draw buffer parameters.
This element stores the current draw buffer parameters used for rendering, including:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Depth function mode as defined by OpenGL.Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionReturns current depth buffer parameters.static int
Deprecated.As of Open Inventor 9.3.0.0.static void
set
(SoState state, SoDrawBufferElement.SoDrawBufferTypes type) Sets the depth buffer parameters.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
get
Returns current depth buffer parameters. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set
Sets the depth buffer parameters. This method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values
-