Expand description
This module provide information about the current GL context.
The functions provided in here map largely 1:1 to OpenGL calls to glGet
in varying capacities.
Structs§
- An iterator over the extensions supported by the current GL context.
Functions§
- Returns the name of the extension at the given index.
- Returns an iterator over all the extensions supported by the current GL context.
- Gets a rough estimate of the largest 3D texture that the GL can handle. The value must be at least 64.
- Gets a rough estimate of the largest 3D texture that the GL can handle. The value must be at least 64.
- Gets the maximum number of layers allowed in an array texture, and must be at least 256.
- Gets the maximum number of layers allowed in an array texture, and must be at least 256.
- Gets the maximum number of texture units that can be used in a fragment shader.
- Gets the maximum number of color attachments that can be used in a fragment shader.
- Gets the maximum number of samples in a color multisample texture.
- Gets the maximum number of atomic counters available to all active shaders.
- Gets the number of words for fragment shader uniform variables in all uniform blocks (including default). The value must be at least 1.
- Gets the number of words for geometry shader uniform variables in all uniform blocks (including default). The value must be at least 1.
- Gets the maximum supported texture image units that can be used to access texture maps from the vertex shader and the fragment processor combined. If both the vertex shader and the fragment processing stage access the same texture image unit, then that counts as using two texture image units against this limit. The value must be at least 48.
- Gets the maximum number of uniform blocks per program. The value must be at least 70.
- Gets the number of words for vertex shader uniform variables in all uniform blocks (including default). The value must be at least 1.
- Gets the max cube map texture size.
- Gets the maximum depth texture samples.
- Gets the maximum draw buffers.
- Gets the maximum dual-source draw buffers.
- Gets the max elements indices that can be used in a draw call.
- Gets the max elements vertices that can be used in a draw call.
- Gets the maximum fragment input components.
- Gets the maximum fragment shader storage block.
- Gets the maximum fragment output components.
- Gets the maximum fragment uniform components.
- Gets the maximum fragment uniform vectors.
- Gets the maximum frame-buffer height.
- Gets the maximum frame-buffer layers.
- Gets the maximum frame-buffer samples.
- Gets the maximum frame-buffer width.
- Gets the maximum atomic counters for geometry shaders.
- Gets the maximum geometry input components.
- Gets the maximum geometry-shader output components.
- Gets the maximum geometry-shader output vertices.
- Gets the maximum geometry shader storage blocks.
- Gets the maximum geometry shader texture image units.
- Gets the maximum geometry shader uniform blocks.
- Gets the maximum geometry shader uniform components.
- Gets the maximum integer samples.
- Gets the max label length.
- Gets the max progarm texel offset.
- Gets the max rectangular texture size.
- Gets the max render-buffer size.
- Gets the max sample mask words.
- Gets the max server-wait timeout
- Gets the max shader storage buffer bindings.
- Gets the max tesselation control atomic counters.
- Gets the max tesselation control shader storage blocks.
- Gets the max tesselation evaluation atomic counters.
- Gets the max tesselation evaluation shader storage blocks.
- Gets the max texture buffer size.
- Gets the max texture image units.
- Gets the max texture LOD bias.
- Gets the maximum number of texture units that can be used in a fragment shader.
- Gets the maximum number of texture units that can be used in a fragment shader.
- Gets the maximum size in basic machine units of a uniform block.
- Gets the maximum number of uniform buffer bindings that can be used in a vertex shader.
- Gets the maximum number of uniform locations that can be used in a vertex shader.
- Gets the maximum number of vertex shader storage blocks that can be used in a vertex shader.
- Gets the maximum number of varying floats that can be used.
- Gets the maximum number of varying vectors that can be used in a vertex shader.
- Gets the maximum number of vertex attributes that can be used.
- Gets the maximum number of vertex output components.
- Gets the maximum number of vertex shader storage blocks.
- Gets the maximum number of vertex texture image units.
- Gets the maximum number of vertex shader uniform blocks.
- Gets the maximum number of vertex uniform components.
- Gets the maximum number of vertex uniform vectors.
- Gets the maximum number of dimensions the viewport can have.
- Gets the maximum number of viewports that can be used.
- Gets the min-map buffer alignment.
- Gets the number of extensions supported by the current GL context.
- Gets a string for the renderer name.
- Gets a string for the shading language version.
- Gets the supported version of OpenGL as defined by the
GL_MAJOR_VERSIONandGL_MINOR_VERSIONvalues returned from the current context. - Gets the supported version of OpenGL as defined by the
GL_MAJOR_VERSIONandGL_MINOR_VERSIONvalues returned from the current context. - Gets a string for the vendor name.
- Gets a string for the version.