Class EXTOcclusionQueryBoolean



  • public class EXTOcclusionQueryBoolean
    extends java.lang.Object
    Native bindings to the EXT_occlusion_query_boolean extension.

    This extension defines a mechanism whereby an application can query whether any pixels (or, more precisely, samples) are drawn by a primitive or group of primitives.

    The primary purpose of such a query (hereafter referred to as an "occlusion query") is to determine the visibility of an object. Typically, the application will render the major occluders in the scene, then perform an occlusion query for each detail object in the scene. On subsequent frames, the previous results of the occlusion queries can be used to decide whether to draw an object or not.

    • Field Detail

      • GL_ANY_SAMPLES_PASSED_EXT

        public static final int GL_ANY_SAMPLES_PASSED_EXT
        Accepted by the target parameter of BeginQueryEXT, EndQueryEXT, and GetQueryivEXT.
        See Also:
        Constant Field Values
      • GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT

        public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT
        Accepted by the target parameter of BeginQueryEXT, EndQueryEXT, and GetQueryivEXT.
        See Also:
        Constant Field Values
      • GL_CURRENT_QUERY_EXT

        public static final int GL_CURRENT_QUERY_EXT
        Accepted by the pname parameter of GetQueryivEXT.
        See Also:
        Constant Field Values
      • GL_QUERY_RESULT_EXT

        public static final int GL_QUERY_RESULT_EXT
        Accepted by the pname parameter of GetQueryObjectivEXT and GetQueryObjectuivEXT.
        See Also:
        Constant Field Values
      • GL_QUERY_RESULT_AVAILABLE_EXT

        public static final int GL_QUERY_RESULT_AVAILABLE_EXT
        Accepted by the pname parameter of GetQueryObjectivEXT and GetQueryObjectuivEXT.
        See Also:
        Constant Field Values
    • Method Detail

      • glGenQueriesEXT

        public static void glGenQueriesEXT(java.nio.IntBuffer ids)
      • glGenQueriesEXT

        public static int glGenQueriesEXT()
      • glDeleteQueriesEXT

        public static void glDeleteQueriesEXT(java.nio.IntBuffer ids)
      • glDeleteQueriesEXT

        public static void glDeleteQueriesEXT(int id)
      • glIsQueryEXT

        public static boolean glIsQueryEXT(int id)
      • glBeginQueryEXT

        public static void glBeginQueryEXT(int target,
                                           int id)
      • glEndQueryEXT

        public static void glEndQueryEXT(int target)
      • glGetQueryivEXT

        public static void glGetQueryivEXT(int target,
                                           int pname,
                                           java.nio.IntBuffer params)
      • glGetQueryiEXT

        public static int glGetQueryiEXT(int target,
                                         int pname)
      • glGetQueryObjectuivEXT

        public static void glGetQueryObjectuivEXT(int id,
                                                  int pname,
                                                  java.nio.IntBuffer params)
      • glGetQueryObjectuiEXT

        public static int glGetQueryObjectuiEXT(int id,
                                                int pname)
      • glGenQueriesEXT

        public static void glGenQueriesEXT(int[] ids)
        Array version of: GenQueriesEXT
      • glDeleteQueriesEXT

        public static void glDeleteQueriesEXT(int[] ids)
        Array version of: DeleteQueriesEXT
      • glGetQueryivEXT

        public static void glGetQueryivEXT(int target,
                                           int pname,
                                           int[] params)
        Array version of: GetQueryivEXT
      • glGetQueryObjectuivEXT

        public static void glGetQueryObjectuivEXT(int id,
                                                  int pname,
                                                  int[] params)
        Array version of: GetQueryObjectuivEXT