Class SoTextureOverrideElement

  • public class SoTextureOverrideElement
    extends SoElement
    Stores the current texture override. This element stores a flag for each type of element which can be overridden. Nodes implement override by setting the appropriate bit if their override flag is on, and ignoring overridden elements if the corresponding bit in the state's SoTextureOverrideElement is set.

    • Method Detail

      • getClassStackIndex

        public static int getClassStackIndex()
        As of Open Inventor replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • push

        public void push​(SoState state)
        Overrides push() method to copy values from next instance in the stack, and set up cache dependencies correctly.
        push in class SoElement
      • setImageOverride

        public static void setImageOverride​(SoState state,
                                            boolean override)
        Sets override flag for SoTextureImageElement.