Graphics Reference
In-Depth Information
GL_ANY_SAMPLES_PASSED_CONSERVATIVE,
or
GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
specifies the query object parameter to be retrieved;
must be
GL_CURRENT_QUERY
specifies an array of the appropriate type for storing the
returned parameter values
pname
params
The state of a query object can be retrieved by calling the following function:
void
glGetQueryObjectuiv
(GLuint
id
, GLenum
pname
,
GLuint *
params
)
specifies the name of a query object
specifies the query object parameter to be retrieved;
can be
GL_QUERY_RESULT
or
GL_QUERY_RESULT_AVAILABLE
specifies an array of the appropriate type for storing the
returned parameter values
id
pname
params
The properties of a sync object can be retrieved from the current OpenGL
ES 3.0 context by calling the following function:
void
glGetSynciv
(GLsync
sync
, GLenum
pname
,
GLsizei
bufsize
, GLsizei *
length
,
GLint *
values
)
specifies the sync object to query
specifies the parameter to retrieve from the sync object
sync
pname
the number of bytes available in the returning
values
the address of the returned number of bytes in
values
specifies the address of an array for the returned parameter
bufsize
length
values