table of contents
GLCREATEQUERIES(3G) | [FIXME: manual] | GLCREATEQUERIES(3G) |
NAME¶
glCreateQueries - create query objects
C SPECIFICATION¶
void glCreateQueries(GLenum target, GLsizei n, GLuint *ids);
PARAMETERS¶
target
n
ids
DESCRIPTION¶
glCreateQueries returns n previously unused query object names in ids, each representing a new query object with the specified target.
target may be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_TIME_ELAPSED, GL_TIMESTAMP, GL_PRIMITIVES_GENERATED or GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN.
ERRORS¶
GL_INVALID_ENUM is generated if target is not an accepted value.
GL_INVALID_VALUE is generated if n is negative.
VERSION SUPPORT¶
OpenGL Version | ||||||||||||
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 |
glCreateQueries | - | - | - | - | - | - | - | - | - | - | - | ✔ |
SEE ALSO¶
glBeginQuery(), glBeginQueryIndexed(), glDeleteQueries(),
glEndQuery, glGenQueries(), glGetQueryObject(), glGetQueryiv(), glIsQuery()
COPYRIGHT¶
Copyright © 2014 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/.
COPYRIGHT¶
Copyright © 2014 Khronos Group
04/12/2021 | [FIXME: source] |