'''OpenGL extension ARB.pixel_buffer_object

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_pixel_buffer_object'
_DEPRECATED = False
GL_PIXEL_PACK_BUFFER_ARB = constant.Constant( 'GL_PIXEL_PACK_BUFFER_ARB', 0x88EB )
GL_PIXEL_UNPACK_BUFFER_ARB = constant.Constant( 'GL_PIXEL_UNPACK_BUFFER_ARB', 0x88EC )
GL_PIXEL_PACK_BUFFER_BINDING_ARB = constant.Constant( 'GL_PIXEL_PACK_BUFFER_BINDING_ARB', 0x88ED )
glget.addGLGetConstant( GL_PIXEL_PACK_BUFFER_BINDING_ARB, (1,) )
GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = constant.Constant( 'GL_PIXEL_UNPACK_BUFFER_BINDING_ARB', 0x88EF )
glget.addGLGetConstant( GL_PIXEL_UNPACK_BUFFER_BINDING_ARB, (1,) )


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