Graphics Reference
In-Depth Information
Table 15-3
OpenGL ES 3.0 Capabilities Controlled by glEnable and
glDisable (continued)
Capability
Description
GL_SAMPLE_COVERAGE
Use a fragment's computed
coverage value in multisampling
operations
GL_SAMPLE_ALPHA_TO_COVERAGE
Use a fragment's alpha value
as its coverage value in
multisampling operations
GL_STENCIL_TEST
Enable the stencil test
GL_DEPTH_TEST
Enable the depth test
GL_BLEND
Enable blending
GL_PRIMITIVE_RESTART_FIXED_INDEX Enable primitive restarting
GL_RASTERIZER_DISCARD
Enable primitive discard before
rasterization
GL_DITHER
Enable dithering
Shader and Program State Queries
OpenGL ES 3.0 shaders and programs have a considerable amount of state
information that you can retrieve regarding their configuration, and the
attributes and uniform variables used by them. Numerous functions are
provided for querying the state associated with shaders. To determine the
shaders attached to a program, call the following function:
void glGetAttachedShaders (GLuint program , GLsizei maxcount ,
GLsizei * count , GLuint * shaders )
specifies the program to query to determine the attached
shaders
the maximum number of shader names to be returned
the actual number of shader names returned
an array of length maxcount used for storing the returned
shader names
program
maxcount
count
shaders
 
 
 
Search WWH ::




Custom Search