public class SoGLDrawStyleElement extends SoDrawStyleElement
SoDrawStyleElement
to send the draw style to GL when necessary.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
Note that this class relies on SoDrawStyleElement
to store the style in the instance.
Also note that this tells GL only how to draw polygons. Shapes that contain lines still have to check for POINTS draw styles and act accordingly.
See also:
SoDrawStyleElementDeprecated since Open Inventor 9620
SoGLDrawStyleElement
is no longer supported, use equivalent SoDrawStyleElement
.
SoDrawStyleElement.Styles
Inventor.ConstructorCommand
FILLED, INVISIBLE, LINES, MARKERS, POINTS
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
void |
pop(SoState state,
SoElement prevTopElement)
Deprecated.
Overrides
pop() method so side effects can occur in GL. |
void |
push(SoState state)
Deprecated.
Overrides
push() so we can remember the previous element's draw style, and perhaps avoid sending unnecessary GL calls if this element is the same. |
get, getDefault, set
getClassStackIndex
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static int getClassStackIndex()
public void pop(SoState state, SoElement prevTopElement)
pop()
method so side effects can occur in GL.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com