Class SoDrawBufferElement

  • public class SoDrawBufferElement
    extends SoInt32Element
    Stores the current draw buffer parameters. This element stores the current draw buffer parameters used for rendering, including:

    • Method Detail

      • getClassStackIndex

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

        public static void set​(SoState state,
                               SoDrawBufferElement.SoDrawBufferTypes type)
        Sets the depth buffer parameters. This method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values