Class SoTextureImageElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedTextureElement
com.openinventor.inventor.elements.SoTextureImageElementBase
com.openinventor.inventor.elements.SoTextureImageElement
Stores the current texture image.
This element stores the current texture image.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.elements.SoTextureImageElementBase
SoTextureImageElementBase.TargetsNested 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 TypeMethodDescriptionstatic booleancontainsTransparency(SoState state) Calls containsTransparency(state, (int)0).static booleancontainsTransparency(SoState state, int unit) Returns true if the texture contains transparency info.static intDeprecated.As of Open Inventor 9.3.0.0.static voidset(SoState state, SoNode node, SbVec2i32 subSize, int xoffset, int yoffset, ByteBuffer buffer, int texname) Pass texname = -1 to deactivate subtexturing.Methods inherited from class com.openinventor.inventor.elements.SoTextureImageElementBase
pushMethods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
containsTransparency
Calls containsTransparency(state, (int)0). -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set
public static void set(SoState state, SoNode node, SbVec2i32 subSize, int xoffset, int yoffset, ByteBuffer buffer, int texname) Pass texname = -1 to deactivate subtexturing. Subtexturing not active by default. In any case, the regular set method must be called. -
containsTransparency
Returns true if the texture contains transparency info.
-