Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glgetqueryiv(3g) [osx man page]

GLGETQUERYIV(3G)						    OpenGL 3.3							  GLGETQUERYIV(3G)

NAME
glGetQueryiv - return parameters of a query object target C SPECIFICATION
void glGetQueryiv(GLenum target, GLenum pname, GLint * params); PARAMETERS
target Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. pname Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. params Returns the requested data. DESCRIPTION
glGetQueryiv returns in params a selected parameter of the query object target specified by target. pname names a specific query object target parameter. When pname is GL_CURRENT_QUERY, the name of the currently active query for target, or zero if no query is active, will be placed in params. If pname is GL_QUERY_COUNTER_BITS, the implementation-dependent number of bits used to hold the result of queries for target is returned in params. NOTES
If an error is generated, no change is made to the contents of params. ERRORS
GL_INVALID_ENUM is generated if target or pname is not an accepted value. SEE ALSO
glGetQueryObject(), glIsQuery() COPYRIGHT
Copyright (C) 2005 Addison-Wesley. 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/. OpenGL 3.3 03/08/2011 GLGETQUERYIV(3G)

Check Out this Related Man Page

GLGETQUERYIV(3G)						    OpenGL 3.3							  GLGETQUERYIV(3G)

NAME
glGetQueryiv - return parameters of a query object target C SPECIFICATION
void glGetQueryiv(GLenum target, GLenum pname, GLint * params); PARAMETERS
target Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. pname Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. params Returns the requested data. DESCRIPTION
glGetQueryiv returns in params a selected parameter of the query object target specified by target. pname names a specific query object target parameter. When pname is GL_CURRENT_QUERY, the name of the currently active query for target, or zero if no query is active, will be placed in params. If pname is GL_QUERY_COUNTER_BITS, the implementation-dependent number of bits used to hold the result of queries for target is returned in params. NOTES
If an error is generated, no change is made to the contents of params. ERRORS
GL_INVALID_ENUM is generated if target or pname is not an accepted value. SEE ALSO
glGetQueryObject(), glIsQuery() COPYRIGHT
Copyright (C) 2005 Addison-Wesley. 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/. OpenGL 3.3 03/08/2011 GLGETQUERYIV(3G)
Man Page

6 More Discussions You Might Find Interesting

1. HP-UX

unable to change kernel params?

i have hp-ux 11i on a rp2470 machine. i'd like to change some kernel params with SAM. i change the params, process new kernel and reboot the system. after reboot i found that params does not change. i have done the same things many times but i still have the pb. plz what to do? (1 Reply)
Discussion started by: nabil_boussetta
1 Replies

2. UNIX for Dummies Questions & Answers

append file name contents to a target file

Hi , I want to append the contents of many files (not knowing exactly how many files, i will get) in to one target file on a day today basis. The file names are similar except last value (which is sequence number) eg) file1_20061026_1 file1_20061026_2 etc., How can i read all the files... (2 Replies)
Discussion started by: gopskrish
2 Replies

3. Shell Programming and Scripting

Source and Target count checking

Hi My source database is seibel and the target is oracle. I need to check the count for source query and target query. if it is equal then i need to send and success mail to an email id. If it is not equal need to send an failure mail to an email id. pl let me know about the script in ksh. ... (2 Replies)
Discussion started by: ksmbabu
2 Replies

4. UNIX for Dummies Questions & Answers

Reading from a file(passing the file as input parameter)

hi I have a shell script say primary.sh . There is a file called params my scenario is primary.sh should read all the values and echo it for example i should pass like $primary.sh params output would be Abc ... (2 Replies)
Discussion started by: ssuresh1999
2 Replies

5. Shell Programming and Scripting

Check params for number

I have 2 and three params, both I should make sure thay numbers at one single line insted of checking for each one . Example I wroote the following way.. checking for 2 and three seperately but I shud be able to do it at on statement echo $2 | egrep '^+$' >/dev/null 2>&1 if ; then echo... (2 Replies)
Discussion started by: raopatwari
2 Replies

6. UNIX for Dummies Questions & Answers

Typeset issue

function fxn { echo "target in build_ndm is $target" } function main { target=${server_type} echo "target in main is $target" fxn } In the above the value of target is not being propagated to the function while ideally it should be since typeset variables are visible in sub... (2 Replies)
Discussion started by: sharad.40216
2 Replies