firestryker's picture
download
raw
1.04 kB
'''OpenGL extension SGIX.async_histogram
This module customises the behaviour of the
OpenGL.raw.GL.SGIX.async_histogram to provide a more
Python-friendly API
Overview (from the spec)
This extension introduces a new asynchronous mode for histogram
and minmax readbacks. It allows programs to get the contents of a
histogram or minmax table without blocking and to continue issuing
graphics commands during the readback.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIX/async_histogram.txt
'''
from OpenGL import platform, constant, arrays
from OpenGL import extensions, wrapper
import ctypes
from OpenGL.raw.GL import _types, _glgets
from OpenGL.raw.GL.SGIX.async_histogram import *
from OpenGL.raw.GL.SGIX.async_histogram import _EXTENSION_NAME
def glInitAsyncHistogramSGIX():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( _EXTENSION_NAME )
### END AUTOGENERATED SECTION

Xet Storage Details

Size:
1.04 kB
·
Xet hash:
301020ef23024748576d3168901de400fe9bb03b0008f7e16c47d18620cec7b1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.