1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_NV_point_sprite'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_NV_point_sprite',False)
_p.unpack_constants( """GL_POINT_SPRITE_NV 0x8861
GL_COORD_REPLACE_NV 0x8862
GL_POINT_SPRITE_R_MODE_NV 0x8863""", globals())
glget.addGLGetConstant( GL_POINT_SPRITE_NV, (1,) )
glget.addGLGetConstant( GL_POINT_SPRITE_R_MODE_NV, (1,) )
@_f
@_p.types(None,_cs.GLenum,_cs.GLint)
def glPointParameteriNV( pname,param ):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLintArray)
def glPointParameterivNV( pname,params ):pass
def glInitPointSpriteNV():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( EXTENSION_NAME )
|