public class SoTextureUnitElement extends SoAccumulatedElement
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoTextureUnitElement.MappingMethods
Deprecated.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
BUMP_MAPPING
Deprecated.
Use
SoTextureUnitElement.MappingMethods.BUMP_MAPPING instead. |
static int |
IMAGE_MAPPING
Deprecated.
Use
SoTextureUnitElement.MappingMethods.IMAGE_MAPPING instead. |
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static boolean |
activateTextureUnit(SoState state,
int unit)
Activates the current texture if it exists.
|
static SoTextureUnitElement.MappingMethods |
getActiveMappingMethod(SoState state)
Deprecated.
As of Open Inventor 10000 See documentation for more details
|
static int |
getActiveTextureUnit(SoState state)
Returns the current active texture unit (the last texture unit set).
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static int |
getMaxTextureUnit()
Calls getMaxTextureUnit((com.openinventor.inventor.misc.SoState)null).
|
static int |
getMaxTextureUnit(SoState state)
Returns the maximum texture units.
|
static int |
isBumpMapping(SoState state)
Indicate if one unit among the current unit list corresponds to an BUMP_MAPPING.
|
static int |
isImageMapping(SoState state)
Indicate if one unit among the current unit list corresponds to an IMAGE_MAPPING.
|
void |
pop(SoState name_27544,
SoElement prevTopElement)
Pop method.
|
void |
push(SoState state)
Overrides
push() method to copy values from next instance in the stack. |
static void |
set(SoState state,
SoNode node,
int unit,
SoTextureUnitElement.MappingMethods mappingMethod)
Deprecated.
As of Open Inventor 10000 See documentation for more details
|
static boolean |
shouldSendGLData(SoState state)
Indicate according to the current mapping method if GL data must be sent or not.
|
getClassStackIndex
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int BUMP_MAPPING
SoTextureUnitElement.MappingMethods.BUMP_MAPPING
instead.@Deprecated public static final int IMAGE_MAPPING
SoTextureUnitElement.MappingMethods.IMAGE_MAPPING
instead.public static int getMaxTextureUnit()
public static int getMaxTextureUnit(SoState state)
public static int isImageMapping(SoState state)
@Deprecated public static SoTextureUnitElement.MappingMethods getActiveMappingMethod(SoState state)
public static boolean activateTextureUnit(SoState state, int unit)
public static int isBumpMapping(SoState state)
public void push(SoState state)
push()
method to copy values from next instance in the stack.push
in class SoAccumulatedElement
@Deprecated public static int getClassStackIndex()
public static int getActiveTextureUnit(SoState state)
public static boolean shouldSendGLData(SoState state)
@Deprecated public static void set(SoState state, SoNode node, int unit, SoTextureUnitElement.MappingMethods mappingMethod)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com