Class ARBInternalformatQuery


  • public class ARBInternalformatQuery
    extends java.lang.Object
    Native bindings to the ARB_internalformat_query extension.

    OpenGL 4.1 has a number of queries to indicate the maximum number of samples available for different formats. These give a coarse-grained query mechanism e.g. an implementation can expose different sample counts for integer and floating-point formats, but not for different floating-point formats. There is also no convenient way for the user to determine the granularity of sample counts available, only the maximum.

    This extension adds a query mechanism that allows the user to determine which sample counts are available for a specific internal format.

    Requires OpenGL 3.0 or ARB_framebuffer_object. Promoted to core in OpenGL 4.2.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int GL_NUM_SAMPLE_COUNTS
      Accepted by the pname parameter of GetInternalformativ.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int glGetInternalformati​(int target, int internalformat, int pname)
      Retrieves information about implementation-dependent support for internal formats.
      static void glGetInternalformativ​(int target, int internalformat, int pname, int[] params)
      Array version of: GetInternalformativ
      static void glGetInternalformativ​(int target, int internalformat, int pname, java.nio.IntBuffer params)
      Retrieves information about implementation-dependent support for internal formats.
      static void nglGetInternalformativ​(int target, int internalformat, int pname, int bufSize, long params)
      Unsafe version of: GetInternalformativ
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait