OpenGL.GL.ARB.internalformat_query2

OpenGL extension ARB.internalformat_query2
This module customises the behaviour of the OpenGL.raw.GL.ARB.internalformat_query2 to provide a more Python-friendly API
Overview (from the spec)
This extension extends the GetInternalformativ query that was added in the ARB_internalformat_query extension to provide applications with more granular per-format capability information.
This extension allows the remainder of the texture-style targets to be specified along with any possible internal format. We add queries for additional properties supported for an internal format in addition to the multisample-related information that was added in ARB_internalformat_query.
The goals of this extension are to:
a) provide a mechanism for implementations to declare support *above* the minimum required by the specification
b) provide API to allow universally constant information to be queried
c) provide a user-friendly way of finding out about version- or implementation-specific limitations.
While much of this information can be determined for a single GL version by careful examination of the specification, support for many of these properties has been gradually introduced over a number of API revisions. This can observed when considering the range in functionality between the various versions of GL 2, 3, and 4, as well as GL ES 2 and 3.
In the case of an application which wishes to be scalable and able to run on a variety of possible GL or GL ES versions without being specifically tailored for each version, it must either have knowledge of the specifications built up into either the code or tables, or it must do a number of tests on startup to determine which capabilities are present.
In OpenGL, other than the course-grained extension mechanism, many limitations of, or limited support for, an internalformat can only be signaled by failing an operation or by operating at reduced performance. Thus, such tests often involve attempts to create resources, using them in specific ways and benchmarking the operations to find out if it is supported in the desired form, and at a required performance level. The extension provides a way for these properties and caveats to be directly queried from the implementation.
This extension is NOT intended to allow implementations to only support a subset of features that are required by a specific GL version, nor is it intended to replace the proper use of extension checks for optional functionality.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/ARB/internalformat_query2.txt

Functions

glGetInternalformati64v( target , internalformat , pname , bufSize , params )

Constants

GL_AUTO_GENERATE_MIPMAP (33429)
GL_CAVEAT_SUPPORT (33464)
GL_CLEAR_BUFFER (33460)
GL_COLOR_COMPONENTS (33411)
GL_COLOR_ENCODING (33430)
GL_COLOR_RENDERABLE (33414)
GL_COMPUTE_TEXTURE (33440)
GL_DEPTH_COMPONENTS (33412)
GL_DEPTH_RENDERABLE (33415)
GL_FILTER (33434)
GL_FRAGMENT_TEXTURE (33439)
GL_FRAMEBUFFER_BLEND (33419)
GL_FRAMEBUFFER_RENDERABLE (33417)
GL_FRAMEBUFFER_RENDERABLE_LAYERED (33418)
GL_FULL_SUPPORT (33463)
GL_GEOMETRY_TEXTURE (33438)
GL_GET_TEXTURE_IMAGE_FORMAT (33425)
GL_GET_TEXTURE_IMAGE_TYPE (33426)
GL_IMAGE_CLASS_10_10_10_2 (33475)
GL_IMAGE_CLASS_11_11_10 (33474)
GL_IMAGE_CLASS_1_X_16 (33470)
GL_IMAGE_CLASS_1_X_32 (33467)
GL_IMAGE_CLASS_1_X_8 (33473)
GL_IMAGE_CLASS_2_X_16 (33469)
GL_IMAGE_CLASS_2_X_32 (33466)
GL_IMAGE_CLASS_2_X_8 (33472)
GL_IMAGE_CLASS_4_X_16 (33468)
GL_IMAGE_CLASS_4_X_32 (33465)
GL_IMAGE_CLASS_4_X_8 (33471)
GL_IMAGE_COMPATIBILITY_CLASS (33448)
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE (37063)
GL_IMAGE_PIXEL_FORMAT (33449)
GL_IMAGE_PIXEL_TYPE (33450)
GL_IMAGE_TEXEL_SIZE (33447)
GL_INTERNALFORMAT_ALPHA_SIZE (33396)
GL_INTERNALFORMAT_ALPHA_TYPE (33403)
GL_INTERNALFORMAT_BLUE_SIZE (33395)
GL_INTERNALFORMAT_BLUE_TYPE (33402)
GL_INTERNALFORMAT_DEPTH_SIZE (33397)
GL_INTERNALFORMAT_DEPTH_TYPE (33404)
GL_INTERNALFORMAT_GREEN_SIZE (33394)
GL_INTERNALFORMAT_GREEN_TYPE (33401)
GL_INTERNALFORMAT_PREFERRED (33392)
GL_INTERNALFORMAT_RED_SIZE (33393)
GL_INTERNALFORMAT_RED_TYPE (33400)
GL_INTERNALFORMAT_SHARED_SIZE (33399)
GL_INTERNALFORMAT_STENCIL_SIZE (33398)
GL_INTERNALFORMAT_STENCIL_TYPE (33405)
GL_INTERNALFORMAT_SUPPORTED (33391)
GL_MANUAL_GENERATE_MIPMAP (33428)
GL_MAX_COMBINED_DIMENSIONS (33410)
GL_MAX_DEPTH (33408)
GL_MAX_HEIGHT (33407)
GL_MAX_LAYERS (33409)
GL_MAX_WIDTH (33406)
GL_MIPMAP (33427)
GL_NUM_SAMPLE_COUNTS (37760)
GL_READ_PIXELS (33420)
GL_READ_PIXELS_FORMAT (33421)
GL_READ_PIXELS_TYPE (33422)
GL_RENDERBUFFER (36161)
GL_SAMPLES (32937)
GL_SHADER_IMAGE_ATOMIC (33446)
GL_SHADER_IMAGE_LOAD (33444)
GL_SHADER_IMAGE_STORE (33445)
GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST (33452)
GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE (33454)
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST (33453)
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE (33455)
GL_SRGB_DECODE_ARB (33433)
GL_SRGB_READ (33431)
GL_SRGB_WRITE (33432)
GL_STENCIL_COMPONENTS (33413)
GL_STENCIL_RENDERABLE (33416)
GL_TESS_CONTROL_TEXTURE (33436)
GL_TESS_EVALUATION_TEXTURE (33437)
GL_TEXTURE_1D (3552)
GL_TEXTURE_1D_ARRAY (35864)
GL_TEXTURE_2D (3553)
GL_TEXTURE_2D_ARRAY (35866)
GL_TEXTURE_2D_MULTISAMPLE (37120)
GL_TEXTURE_2D_MULTISAMPLE_ARRAY (37122)
GL_TEXTURE_3D (32879)
GL_TEXTURE_BUFFER (35882)
GL_TEXTURE_COMPRESSED (34465)
GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT (33458)
GL_TEXTURE_COMPRESSED_BLOCK_SIZE (33459)
GL_TEXTURE_COMPRESSED_BLOCK_WIDTH (33457)
GL_TEXTURE_CUBE_MAP (34067)
GL_TEXTURE_CUBE_MAP_ARRAY (36873)
GL_TEXTURE_GATHER (33442)
GL_TEXTURE_GATHER_SHADOW (33443)
GL_TEXTURE_IMAGE_FORMAT (33423)
GL_TEXTURE_IMAGE_TYPE (33424)
GL_TEXTURE_RECTANGLE (34037)
GL_TEXTURE_SHADOW (33441)
GL_TEXTURE_VIEW (33461)
GL_VERTEX_TEXTURE (33435)
GL_VIEW_CLASS_128_BITS (33476)
GL_VIEW_CLASS_16_BITS (33482)
GL_VIEW_CLASS_24_BITS (33481)
GL_VIEW_CLASS_32_BITS (33480)
GL_VIEW_CLASS_48_BITS (33479)
GL_VIEW_CLASS_64_BITS (33478)
GL_VIEW_CLASS_8_BITS (33483)
GL_VIEW_CLASS_96_BITS (33477)
GL_VIEW_CLASS_BPTC_FLOAT (33491)
GL_VIEW_CLASS_BPTC_UNORM (33490)
GL_VIEW_CLASS_RGTC1_RED (33488)
GL_VIEW_CLASS_RGTC2_RG (33489)
GL_VIEW_CLASS_S3TC_DXT1_RGB (33484)
GL_VIEW_CLASS_S3TC_DXT1_RGBA (33485)
GL_VIEW_CLASS_S3TC_DXT3_RGBA (33486)
GL_VIEW_CLASS_S3TC_DXT5_RGBA (33487)
GL_VIEW_COMPATIBILITY_CLASS (33462)