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.

    • Method Detail

      • nglGenQueriesEXT

        public static void nglGenQueriesEXT​(int n,
                                            long ids)
      • glGenQueriesEXT

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

        public static int glGenQueriesEXT()
      • nglDeleteQueriesEXT

        public static void nglDeleteQueriesEXT​(int n,
                                               long ids)
      • 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)
      • nglGetQueryivEXT

        public static void nglGetQueryivEXT​(int target,
                                            int pname,
                                            long params)
      • glGetQueryivEXT

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

        public static int glGetQueryiEXT​(int target,
                                         int pname)
      • nglGetQueryObjectuivEXT

        public static void nglGetQueryObjectuivEXT​(int id,
                                                   int pname,
                                                   long params)
      • 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