public class SoGLLightIdElement extends SoInt32Element
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
Note that even though the effects of this element accumulate (each light source increments the id), it is derived from SoInt32Element
. This is because each call to increment()
effectively does a "get" of the current top instance, so caching knows about the dependency of each instance on the previous one.
See also:
SoDirectionalLight
, SoPointLight
, SoSpotLight
, SoVRMLDirectionalLight
, SoVRMLPointLight
, SoVRMLSpotLightDeprecated since Open Inventor 9620
SoGLLightIdElement
are no longer supported. See section
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static int |
get(SoState state)
Deprecated.
Returns current light id from the state.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static int |
getDefault()
Deprecated.
Returns the default light id.
|
static int |
getMaxGLSources()
Deprecated.
Returns the maximum number of concurrent light sources supported by GL implementation.
|
static int |
increment(SoState state)
Deprecated.
Increments the current light id.
|
void |
pop(SoState state,
SoElement prevTopElement)
Deprecated.
Overrides
pop() method so side effects can occur in GL. |
void |
push(SoState state)
Deprecated.
Overrides
push() method to copy values from next instance in the stack. |
getClassStackIndex
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void push(SoState state)
push()
method to copy values from next instance in the stack.public static int getDefault()
public static int getMaxGLSources()
public static int get(SoState state)
public static int increment(SoState state)
@Deprecated public static int getClassStackIndex()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com