'''OpenGL extension ARB.cl_event

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_ARB_cl_event'
_DEPRECATED = False
GL_SYNC_CL_EVENT_ARB = constant.Constant( 'GL_SYNC_CL_EVENT_ARB', 0x8240 )
GL_SYNC_CL_EVENT_COMPLETE_ARB = constant.Constant( 'GL_SYNC_CL_EVENT_COMPLETE_ARB', 0x8241 )
glCreateSyncFromCLeventARB = platform.createExtensionFunction( 
'glCreateSyncFromCLeventARB',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLsync, 
argTypes=(ctypes.POINTER(constants._cl_context),ctypes.POINTER(constants._cl_event),constants.GLbitfield,),
doc='glCreateSyncFromCLeventARB(POINTER(constants._cl_context)(context), POINTER(constants._cl_event)(event), GLbitfield(flags)) -> constants.GLsync',
argNames=('context','event','flags',),
deprecated=_DEPRECATED,
)


def glInitClEventARB():
    '''Return boolean indicating whether this extension is available'''
    return extensions.hasGLExtension( EXTENSION_NAME )
