Light | Dark

glCreateQueries

Name

glCreateQueries — create query objects

C Specification

void glCreateQueries( GLenum target,
GLsizei n,
GLuint *ids);

Parameters

target

Specifies the target of each created query object.

n

Number of query objects to create.

ids

Specifies an array in which names of the new query objects are stored.

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 - - - - - - - - - - -
Think you can improve this page? Edit this page on GitHub.