1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
'''OpenGL extension SGIX.instruments
Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_SGIX_instruments'
_DEPRECATED = False
GL_INSTRUMENT_BUFFER_POINTER_SGIX = constant.Constant( 'GL_INSTRUMENT_BUFFER_POINTER_SGIX', 0x8180 )
GL_INSTRUMENT_MEASUREMENTS_SGIX = constant.Constant( 'GL_INSTRUMENT_MEASUREMENTS_SGIX', 0x8181 )
glGetInstrumentsSGIX = platform.createExtensionFunction(
'glGetInstrumentsSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLint,
argTypes=(),
doc='glGetInstrumentsSGIX() -> constants.GLint',
argNames=(),
deprecated=_DEPRECATED,
)
glInstrumentsBufferSGIX = platform.createExtensionFunction(
'glInstrumentsBufferSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLsizei,arrays.GLintArray,),
doc='glInstrumentsBufferSGIX(GLsizei(size), GLintArray(buffer)) -> None',
argNames=('size','buffer',),
deprecated=_DEPRECATED,
)
glPollInstrumentsSGIX = platform.createExtensionFunction(
'glPollInstrumentsSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLint,
argTypes=(arrays.GLintArray,),
doc='glPollInstrumentsSGIX(GLintArray(marker_p)) -> constants.GLint',
argNames=('marker_p',),
deprecated=_DEPRECATED,
)
glReadInstrumentsSGIX = platform.createExtensionFunction(
'glReadInstrumentsSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,),
doc='glReadInstrumentsSGIX(GLint(marker)) -> None',
argNames=('marker',),
deprecated=_DEPRECATED,
)
glStartInstrumentsSGIX = platform.createExtensionFunction(
'glStartInstrumentsSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(),
doc='glStartInstrumentsSGIX() -> None',
argNames=(),
deprecated=_DEPRECATED,
)
glStopInstrumentsSGIX = platform.createExtensionFunction(
'glStopInstrumentsSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,),
doc='glStopInstrumentsSGIX(GLint(marker)) -> None',
argNames=('marker',),
deprecated=_DEPRECATED,
)
def glInitInstrumentsSGIX():
'''Return boolean indicating whether this extension is available'''
return extensions.hasGLExtension( EXTENSION_NAME )
|