Graphics Reference
In-Depth Information
Table 15-2
Application-Modifiable OpenGL ES State Queries (continued)
Minimum/
Initial Value
State Variable
Description
Get Function
GL_SAMPLE_
COVERAGE_
INVERT
Current
multisampling
coverage value
inversion setting
GL_FALSE glGetBooleanv
GL_TEXTURE_
BINDING_2D
Current 2D texture
binding
0
glGetIntegerv
Current cubemap
texture binding
0
GL_TEXTURE_
BINDING_CUBE_
MAP
glGetIntegerv
GL_ACTIVE_
TEXTURE
Current texture unit
0
glGetIntegerv
GL_SAMPLER_
BINDING
Current sampler
object bound to
active texture unit
0
glGetIntegerv
GL_COLOR_
WRITEMASK
Color buffer writable GL_TRUE glGetBooleanv
GL_DEPTH_
WRITEMASK
Depth buffer writable GL_TRUE glGetBooleanv
GL_STENCIL_
WRITEMASK
Current write mask
for front-facing
polygons
1
glGetIntegerv
GL_STENCIL_
BACK_WRITEMASK
Current write mask
for back-facing
polygons
1
glGetIntegerv
GL_COLOR_
CLEAR_VALUE
Current color buffer
clear value
0, 0, 0, 0
glGetFloatv
GL_DEPTH_
CLEAR_VALUE
Current depth buffer
clear value
1
glGetIntegerv
GL_STENCIL_
CLEAR_VALUE
Current stencil buffer
clear value
0
glGetIntegerv
GL_SCISSOR_BOX Current offset and
dimensions of the
scissor box
0, 0, w, h
glGetIntegerv
 
Search WWH ::




Custom Search