Class SoTextureImageElement

    • Method Detail

      • containsTransparency

        public static boolean containsTransparency​(SoState state)
        Calls containsTransparency(state, (int)0).
      • getClassStackIndex

        @Deprecated(since="9.3.0.0")
        public static int 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,
                               java.nio.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

        public static boolean containsTransparency​(SoState state,
                                                   int unit)
        Returns true if the texture contains transparency info.