1'''OpenGL extension APPLE.sync 2 3This module customises the behaviour of the 4OpenGL.raw.GLES2.APPLE.sync to provide a more 5Python-friendly API 6 7The official definition of this extension is available here: 8http://www.opengl.org/registry/specs/APPLE/sync.txt 9''' 10from OpenGL import platform, constant, arrays 11from OpenGL import extensions, wrapper 12import ctypes 13from OpenGL.raw.GLES2 import _types, _glgets 14from OpenGL.raw.GLES2.APPLE.sync import * 15from OpenGL.raw.GLES2.APPLE.sync import _EXTENSION_NAME 16 17def glInitSyncAPPLE(): 18 '''Return boolean indicating whether this extension is available''' 19 from OpenGL import extensions 20 return extensions.hasGLExtension( _EXTENSION_NAME ) 21 22# INPUT glGetSyncivAPPLE.values size not checked against bufSize 23glGetSyncivAPPLE=wrapper.wrapper(glGetSyncivAPPLE).setInputArraySize( 24 'values', None 25) 26### END AUTOGENERATED SECTION