A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://pyopengl.sourceforge.net/documentation/manual-3.0/glGetSynciv.html below:

PyOpenGL 3.1.0 GL Man Pages

query the properties of a sync object Signature glGetSync

(

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.

pname

Specifies the parameter whose value to retrieve from the sync object specified in

sync

.

bufSize

Specifies the size of the buffer whose address is given in

values

.

length

Specifies the address of an variable to receive the number of integers placed in

values

.

values

Specifies the address of an array to receive the values of the queried parameter.

Sample Code References

The 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