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. or ARB_framebuffer_object. Promoted to core in OpenGL 4..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_NUM_SAMPLE_COUNTS
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | glGetInternalformati(int target, int
the internal format about which to retrieve information internalformat, int the type of information to query pname)Retrieves information about implementation-dependent support for internal formats. |
| public static void | glGetInternalformativ(int target, int
the internal format about which to retrieve information internalformat, int the type of information to query pname, IntBuffer a variable into which to write the retrieved information params)Retrieves information about implementation-dependent support for internal formats. |
| public static void | glGetInternalformativ(int target, int internalformat, int pname, int[] params)
Array version of: |
| public static void | nglGetInternalformativ(int target, int internalformat, int pname, int
the maximum number of values that may be written to params by the function bufSize, long params)Unsafe version of: |
| GL_NUM_SAMPLE_COUNTS | back to summary |
|---|---|
| public static final int GL_NUM_SAMPLE_COUNTS Accepted by the | |
| ARBInternalformatQuery | back to summary |
|---|---|
| protected ARBInternalformatQuery() | |
| glGetInternalformati | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static int glGetInternalformati(int target, int internalformat, int pname) Retrieves information about implementation-dependent support for internal formats.
| |||||||||||||
| glGetInternalformativ | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glGetInternalformativ(int target, int internalformat, int pname, IntBuffer params) Retrieves information about implementation-dependent support for internal formats.
| |||||||||||||
| glGetInternalformativ | back to summary |
|---|---|
| public static void glGetInternalformativ(int target, int internalformat, int pname, int[] params) Array version of: | |
| nglGetInternalformativ | back to summary |
|---|---|
| public static void nglGetInternalformativ(int target, int internalformat, int pname, int bufSize, long params) Unsafe version of:
| |