table of contents
other versions
GLGETSHADERPRECISION(3G) | [FIXME: manual] | GLGETSHADERPRECISION(3G) |
NAME¶
glGetShaderPrecisionFormat - retrieve the range and precision for numeric formats supported by the shader compilerC SPECIFICATION¶
void
glGetShaderPrecisionFormat(GLenum shaderType,
GLenum precisionType, GLint *range,
GLint *precision);
PARAMETERS¶
shaderTypeSpecifies the type of shader whose precision
to query. shaderType must be GL_VERTEX_SHADER or
GL_FRAGMENT_SHADER.
precisionType
Specifies the numeric format whose precision
and range to query.
range
Specifies the address of array of two integers
into which encodings of the implementation's numeric range are returned.
precision
Specifies the address of an integer into which
the numeric precision of the implementation is written.
DESCRIPTION¶
ERRORS¶
COPYRIGHT¶
Copyright © 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.05/30/2012 | [FIXME: source] |