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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
|
'''OpenGL extension NV.vertex_buffer_unified_memory
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_NV_vertex_buffer_unified_memory'
_DEPRECATED = False
GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV = constant.Constant( 'GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV', 0x8F1E )
GL_ELEMENT_ARRAY_UNIFIED_NV = constant.Constant( 'GL_ELEMENT_ARRAY_UNIFIED_NV', 0x8F1F )
GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV = constant.Constant( 'GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV', 0x8F20 )
GL_VERTEX_ARRAY_ADDRESS_NV = constant.Constant( 'GL_VERTEX_ARRAY_ADDRESS_NV', 0x8F21 )
GL_NORMAL_ARRAY_ADDRESS_NV = constant.Constant( 'GL_NORMAL_ARRAY_ADDRESS_NV', 0x8F22 )
GL_COLOR_ARRAY_ADDRESS_NV = constant.Constant( 'GL_COLOR_ARRAY_ADDRESS_NV', 0x8F23 )
GL_INDEX_ARRAY_ADDRESS_NV = constant.Constant( 'GL_INDEX_ARRAY_ADDRESS_NV', 0x8F24 )
GL_TEXTURE_COORD_ARRAY_ADDRESS_NV = constant.Constant( 'GL_TEXTURE_COORD_ARRAY_ADDRESS_NV', 0x8F25 )
GL_EDGE_FLAG_ARRAY_ADDRESS_NV = constant.Constant( 'GL_EDGE_FLAG_ARRAY_ADDRESS_NV', 0x8F26 )
GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV', 0x8F27 )
GL_FOG_COORD_ARRAY_ADDRESS_NV = constant.Constant( 'GL_FOG_COORD_ARRAY_ADDRESS_NV', 0x8F28 )
GL_ELEMENT_ARRAY_ADDRESS_NV = constant.Constant( 'GL_ELEMENT_ARRAY_ADDRESS_NV', 0x8F29 )
GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV = constant.Constant( 'GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV', 0x8F2A )
GL_VERTEX_ARRAY_LENGTH_NV = constant.Constant( 'GL_VERTEX_ARRAY_LENGTH_NV', 0x8F2B )
glget.addGLGetConstant( GL_VERTEX_ARRAY_LENGTH_NV, (1,) )
GL_NORMAL_ARRAY_LENGTH_NV = constant.Constant( 'GL_NORMAL_ARRAY_LENGTH_NV', 0x8F2C )
glget.addGLGetConstant( GL_NORMAL_ARRAY_LENGTH_NV, (1,) )
GL_COLOR_ARRAY_LENGTH_NV = constant.Constant( 'GL_COLOR_ARRAY_LENGTH_NV', 0x8F2D )
glget.addGLGetConstant( GL_COLOR_ARRAY_LENGTH_NV, (1,) )
GL_INDEX_ARRAY_LENGTH_NV = constant.Constant( 'GL_INDEX_ARRAY_LENGTH_NV', 0x8F2E )
glget.addGLGetConstant( GL_INDEX_ARRAY_LENGTH_NV, (1,) )
GL_TEXTURE_COORD_ARRAY_LENGTH_NV = constant.Constant( 'GL_TEXTURE_COORD_ARRAY_LENGTH_NV', 0x8F2F )
GL_EDGE_FLAG_ARRAY_LENGTH_NV = constant.Constant( 'GL_EDGE_FLAG_ARRAY_LENGTH_NV', 0x8F30 )
glget.addGLGetConstant( GL_EDGE_FLAG_ARRAY_LENGTH_NV, (1,) )
GL_SECONDARY_COLOR_ARRAY_LENGTH_NV = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_LENGTH_NV', 0x8F31 )
glget.addGLGetConstant( GL_SECONDARY_COLOR_ARRAY_LENGTH_NV, (1,) )
GL_FOG_COORD_ARRAY_LENGTH_NV = constant.Constant( 'GL_FOG_COORD_ARRAY_LENGTH_NV', 0x8F32 )
glget.addGLGetConstant( GL_FOG_COORD_ARRAY_LENGTH_NV, (1,) )
GL_ELEMENT_ARRAY_LENGTH_NV = constant.Constant( 'GL_ELEMENT_ARRAY_LENGTH_NV', 0x8F33 )
glget.addGLGetConstant( GL_ELEMENT_ARRAY_LENGTH_NV, (1,) )
glBufferAddressRangeNV = platform.createExtensionFunction(
'glBufferAddressRangeNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLuint,constants.GLuint64EXT,constants.GLsizeiptr,),
doc='glBufferAddressRangeNV(GLenum(pname), GLuint(index), GLuint64EXT(address), GLsizeiptr(length)) -> None',
argNames=('pname','index','address','length',),
deprecated=_DEPRECATED,
)
glVertexFormatNV = platform.createExtensionFunction(
'glVertexFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLenum,constants.GLsizei,),
doc='glVertexFormatNV(GLint(size), GLenum(type), GLsizei(stride)) -> None',
argNames=('size','type','stride',),
deprecated=_DEPRECATED,
)
glNormalFormatNV = platform.createExtensionFunction(
'glNormalFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLsizei,),
doc='glNormalFormatNV(GLenum(type), GLsizei(stride)) -> None',
argNames=('type','stride',),
deprecated=_DEPRECATED,
)
glColorFormatNV = platform.createExtensionFunction(
'glColorFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLenum,constants.GLsizei,),
doc='glColorFormatNV(GLint(size), GLenum(type), GLsizei(stride)) -> None',
argNames=('size','type','stride',),
deprecated=_DEPRECATED,
)
glIndexFormatNV = platform.createExtensionFunction(
'glIndexFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLsizei,),
doc='glIndexFormatNV(GLenum(type), GLsizei(stride)) -> None',
argNames=('type','stride',),
deprecated=_DEPRECATED,
)
glTexCoordFormatNV = platform.createExtensionFunction(
'glTexCoordFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLenum,constants.GLsizei,),
doc='glTexCoordFormatNV(GLint(size), GLenum(type), GLsizei(stride)) -> None',
argNames=('size','type','stride',),
deprecated=_DEPRECATED,
)
glEdgeFlagFormatNV = platform.createExtensionFunction(
'glEdgeFlagFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLsizei,),
doc='glEdgeFlagFormatNV(GLsizei(stride)) -> None',
argNames=('stride',),
deprecated=_DEPRECATED,
)
glSecondaryColorFormatNV = platform.createExtensionFunction(
'glSecondaryColorFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLenum,constants.GLsizei,),
doc='glSecondaryColorFormatNV(GLint(size), GLenum(type), GLsizei(stride)) -> None',
argNames=('size','type','stride',),
deprecated=_DEPRECATED,
)
glFogCoordFormatNV = platform.createExtensionFunction(
'glFogCoordFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLsizei,),
doc='glFogCoordFormatNV(GLenum(type), GLsizei(stride)) -> None',
argNames=('type','stride',),
deprecated=_DEPRECATED,
)
glVertexAttribFormatNV = platform.createExtensionFunction(
'glVertexAttribFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLint,constants.GLenum,constants.GLboolean,constants.GLsizei,),
doc='glVertexAttribFormatNV(GLuint(index), GLint(size), GLenum(type), GLboolean(normalized), GLsizei(stride)) -> None',
argNames=('index','size','type','normalized','stride',),
deprecated=_DEPRECATED,
)
glVertexAttribIFormatNV = platform.createExtensionFunction(
'glVertexAttribIFormatNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLint,constants.GLenum,constants.GLsizei,),
doc='glVertexAttribIFormatNV(GLuint(index), GLint(size), GLenum(type), GLsizei(stride)) -> None',
argNames=('index','size','type','stride',),
deprecated=_DEPRECATED,
)
glGetIntegerui64i_vNV = platform.createExtensionFunction(
'glGetIntegerui64i_vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLuint,arrays.GLuint64Array,),
doc='glGetIntegerui64i_vNV(GLenum(value), GLuint(index), GLuint64Array(result)) -> None',
argNames=('value','index','result',),
deprecated=_DEPRECATED,
)
def glInitVertexBufferUnifiedMemoryNV():
'''Return boolean indicating whether this extension is available'''
return extensions.hasGLExtension( EXTENSION_NAME )
|