(
sync , pname , bufSize = 1 , length = None , values = None)
Wrapper around glGetSynciv that auto-allocates buffers sync -- the GLsync struct pointer (see glGetSynciv) pname -- constant to retrieve (see glGetSynciv) bufSize -- defaults to 1, maximum number of items to retrieve, currently all constants are defined to return a single value length -- None or a GLint() instance (ONLY!), must be a byref() capable object with a .value attribute which retrieves the set value values -- None or an array object, if None, will be a default return-array-type of length bufSize returns values[:length.value], i.e. an array with the values set by the call, currently always a single-value array.Parameters Variables Description sync
Specifies the sync object whose properties to query.
pnameSpecifies the parameter whose value to retrieve from the sync object specified in
sync.
bufSizeSpecifies the size of the buffer whose address is given in
values.
lengthSpecifies the address of an variable to receive the number of integers placed in
values.
valuesSpecifies the address of an array to receive the values of the queried parameter.
Sample Code ReferencesThe following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4