Graphics Reference
In-Depth Information
Table 15-2
Application-Modifiable OpenGL ES State Queries
(continued)
Minimum/
Initial Value
State Variable
Description
Get Function
GL_UNIFORM_
BUFFER_START
Start of currently
bound uniform
buffer region
0
glGetInteger64i_v
GL_UNIFORM_
BUFFER_SIZE
Size of currently
bound uniform
buffer region
0
glGetInteger64i_v
GL_GENERATE_
MIPMAP_HINT
Mipmap generation
hint
GL_DONT_
CARE
glGetIntegerv
Fragment shader
derivative accuracy
hint
GL_FRAGMENT_
SHADER_
DERIVATIVE_HINT
GL_DONT_
CARE
glGetIntegerv
GL_READ_
FRAMEBUFFER_
BINDING
Currently bound
framebuffer for
reading
0
glGetIntegerv
GL_DRAW_
FRAMEBUFFER_
BINDING
Currently bound
framebuffer for
drawing
0
glGetIntegerv
OpenGL ES 3.0 uses hints to modify the operation of features, allowing a
bias toward either performance or quality. You can specify a preference by
calling the following function:
void
glHint
(GLenum
target
, GLenum
mode
)
target
specifies the hint to be set, and must be either
GL_GENERATE_MIPMAP_HINT
or
GL_FRAGMENT_SHADER_DERIVATIVE_HINT.
specifies the operational mode the feature should use. Valid
values are
GL_FASTEST
to specify performance,
GL_NICEST
to
favor quality, or
GL_DONT_CARE
to reset any preferences to the
implementation default.
mode