'\" t .\" Title: glGetQueryIndexediv .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 01/03/2018 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "GLGETQUERYINDEXEDIV" "3G" "01/03/2018" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" glGetQueryIndexediv \- return parameters of an indexed query object target .SH "C SPECIFICATION" .HP \w'void\ glGetQueryIndexediv('u .BI "void glGetQueryIndexediv(GLenum\ " "target" ", GLuint\ " "index" ", GLenum\ " "pname" ", GLint\ *\ " "params" ");" .SH "PARAMETERS" .PP \fItarget\fR .RS 4 Specifies a query object target\&. Must be \fBGL_SAMPLES_PASSED\fR, \fBGL_ANY_SAMPLES_PASSED\fR, \fBGL_ANY_SAMPLES_PASSED_CONSERVATIVE\fR \fBGL_PRIMITIVES_GENERATED\fR, \fBGL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN\fR, \fBGL_TIME_ELAPSED\fR, or \fBGL_TIMESTAMP\fR\&. .RE .PP \fIindex\fR .RS 4 Specifies the index of the query object target\&. .RE .PP \fIpname\fR .RS 4 Specifies the symbolic name of a query object target parameter\&. Accepted values are \fBGL_CURRENT_QUERY\fR or \fBGL_QUERY_COUNTER_BITS\fR\&. .RE .PP \fIparams\fR .RS 4 Returns the requested data\&. .RE .SH "DESCRIPTION" .PP \fBglGetQueryIndexediv\fR returns in \fIparams\fR a selected parameter of the indexed query object target specified by \fItarget\fR and \fIindex\fR\&. \fIindex\fR specifies the index of the query object target and must be between zero and a target\-specific maxiumum\&. .PP \fIpname\fR names a specific query object target parameter\&. When \fIpname\fR is \fBGL_CURRENT_QUERY\fR, the name of the currently active query for the specified \fIindex\fR of \fItarget\fR, or zero if no query is active, will be placed in \fIparams\fR\&. If \fIpname\fR is \fBGL_QUERY_COUNTER_BITS\fR, the implementation\-dependent number of bits used to hold the result of queries for \fItarget\fR is returned in \fIparams\fR\&. .SH "NOTES" .PP The target \fBGL_ANY_SAMPLES_PASSED_CONSERVATIVE\fR is available only if the GL version is 4\&.3 or greater\&. .PP If an error is generated, no change is made to the contents of \fIparams\fR\&. .PP Calling \fBglGetQueryiv\fR() is equivalent to calling \fBglGetQueryIndexediv\fR with \fIindex\fR set to zero\&. .SH "ERRORS" .PP \fBGL_INVALID_ENUM\fR is generated if \fItarget\fR or \fIpname\fR is not an accepted value\&. .PP \fBGL_INVALID_VALUE\fR is generated if \fIindex\fR is greater than or equal to the \fItarget\fR\-specific maximum\&. .SH "VERSION SUPPORT" .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ \fBOpenGL Version\fR T} T{ \fBFunction / Feature Name\fR T}:T{ \fB2\&.0\fR T}:T{ \fB2\&.1\fR T}:T{ \fB3\&.0\fR T}:T{ \fB3\&.1\fR T}:T{ \fB3\&.2\fR T}:T{ \fB3\&.3\fR T}:T{ \fB4\&.0\fR T}:T{ \fB4\&.1\fR T}:T{ \fB4\&.2\fR T}:T{ \fB4\&.3\fR T}:T{ \fB4\&.4\fR T}:T{ \fB4\&.5\fR T} .T& l c c c c c c c c c c c c. T{ \fBglGetQueryIndexediv\fR 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} .TE .sp 1 .SH "SEE ALSO" .PP \fBglGetQueryObject\fR(), \fBglIsQuery\fR() .SH "COPYRIGHT" .PP Copyright \(co 2010\-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\&. \m[blue]\fBhttp://opencontent\&.org/openpub/\fR\m[]\&. .SH "COPYRIGHT" .br Copyright \(co 2010-2014 Khronos Group. .br