GLCREATEQUERIES(3G)

    .SH "NAME" glCreateQueries - create query objects
    .SH "C SPECIFICATION"

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

    .SH "PARAMETERS"

            .PP target

                        Specifies the target of each created query object.

                .RE
                .PP n

                            Number of query objects to create.

                    .RE
                    .PP ids

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

                        .RE

                .SH "DESCRIPTION"
                    .PP glCreateQueries returns n previously unused query object names in ids, each representing a new query object with the specified target.
                    .PP 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.

                .SH "ERRORS"
                    .PP GL_INVALID_ENUM is generated if target is not an accepted value.
                    .PP GL_INVALID_VALUE is generated if n is negative.

                .SH "VERSION SUPPORT"
                    .TS allbox tab(:); l l l l l l l l l l l l l. T{ glCreateQueries T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}

                .SH "SEE ALSO"
                    .PP glBeginQuery(), glBeginQueryIndexed(), glDeleteQueries(), glEndQuery, glGenQueries(), glGetQueryObject(), glGetQueryiv(), glIsQuery()

                .SH "COPYRIGHT"
                    .PP 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