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
|
'''OpenGL extension NV.shader_buffer_load
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_shader_buffer_load'
_DEPRECATED = False
GL_BUFFER_GPU_ADDRESS_NV = constant.Constant( 'GL_BUFFER_GPU_ADDRESS_NV', 0x8F1D )
GL_GPU_ADDRESS_NV = constant.Constant( 'GL_GPU_ADDRESS_NV', 0x8F34 )
GL_MAX_SHADER_BUFFER_ADDRESS_NV = constant.Constant( 'GL_MAX_SHADER_BUFFER_ADDRESS_NV', 0x8F35 )
glMakeBufferResidentNV = platform.createExtensionFunction(
'glMakeBufferResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLenum,),
doc='glMakeBufferResidentNV(GLenum(target), GLenum(access)) -> None',
argNames=('target','access',),
deprecated=_DEPRECATED,
)
glMakeBufferNonResidentNV = platform.createExtensionFunction(
'glMakeBufferNonResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,),
doc='glMakeBufferNonResidentNV(GLenum(target)) -> None',
argNames=('target',),
deprecated=_DEPRECATED,
)
glIsBufferResidentNV = platform.createExtensionFunction(
'glIsBufferResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLboolean,
argTypes=(constants.GLenum,),
doc='glIsBufferResidentNV(GLenum(target)) -> constants.GLboolean',
argNames=('target',),
deprecated=_DEPRECATED,
)
glNamedMakeBufferResidentNV = platform.createExtensionFunction(
'glNamedMakeBufferResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLenum,),
doc='glNamedMakeBufferResidentNV(GLuint(buffer), GLenum(access)) -> None',
argNames=('buffer','access',),
deprecated=_DEPRECATED,
)
glNamedMakeBufferNonResidentNV = platform.createExtensionFunction(
'glNamedMakeBufferNonResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,),
doc='glNamedMakeBufferNonResidentNV(GLuint(buffer)) -> None',
argNames=('buffer',),
deprecated=_DEPRECATED,
)
glIsNamedBufferResidentNV = platform.createExtensionFunction(
'glIsNamedBufferResidentNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLboolean,
argTypes=(constants.GLuint,),
doc='glIsNamedBufferResidentNV(GLuint(buffer)) -> constants.GLboolean',
argNames=('buffer',),
deprecated=_DEPRECATED,
)
glGetBufferParameterui64vNV = platform.createExtensionFunction(
'glGetBufferParameterui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLenum,arrays.GLuint64Array,),
doc='glGetBufferParameterui64vNV(GLenum(target), GLenum(pname), GLuint64Array(params)) -> None',
argNames=('target','pname','params',),
deprecated=_DEPRECATED,
)
glGetNamedBufferParameterui64vNV = platform.createExtensionFunction(
'glGetNamedBufferParameterui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLenum,arrays.GLuint64Array,),
doc='glGetNamedBufferParameterui64vNV(GLuint(buffer), GLenum(pname), GLuint64Array(params)) -> None',
argNames=('buffer','pname','params',),
deprecated=_DEPRECATED,
)
glGetIntegerui64vNV = platform.createExtensionFunction(
'glGetIntegerui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,arrays.GLuint64Array,),
doc='glGetIntegerui64vNV(GLenum(value), GLuint64Array(result)) -> None',
argNames=('value','result',),
deprecated=_DEPRECATED,
)
glUniformui64NV = platform.createExtensionFunction(
'glUniformui64NV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLuint64EXT,),
doc='glUniformui64NV(GLint(location), GLuint64EXT(value)) -> None',
argNames=('location','value',),
deprecated=_DEPRECATED,
)
glUniformui64vNV = platform.createExtensionFunction(
'glUniformui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint,constants.GLsizei,arrays.GLuint64Array,),
doc='glUniformui64vNV(GLint(location), GLsizei(count), GLuint64Array(value)) -> None',
argNames=('location','count','value',),
deprecated=_DEPRECATED,
)
glGetUniformui64vNV = platform.createExtensionFunction(
'glGetUniformui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLint,arrays.GLuint64Array,),
doc='glGetUniformui64vNV(GLuint(program), GLint(location), GLuint64Array(params)) -> None',
argNames=('program','location','params',),
deprecated=_DEPRECATED,
)
glProgramUniformui64NV = platform.createExtensionFunction(
'glProgramUniformui64NV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLint,constants.GLuint64EXT,),
doc='glProgramUniformui64NV(GLuint(program), GLint(location), GLuint64EXT(value)) -> None',
argNames=('program','location','value',),
deprecated=_DEPRECATED,
)
glProgramUniformui64vNV = platform.createExtensionFunction(
'glProgramUniformui64vNV',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint,constants.GLint,constants.GLsizei,arrays.GLuint64Array,),
doc='glProgramUniformui64vNV(GLuint(program), GLint(location), GLsizei(count), GLuint64Array(value)) -> None',
argNames=('program','location','count','value',),
deprecated=_DEPRECATED,
)
def glInitShaderBufferLoadNV():
'''Return boolean indicating whether this extension is available'''
return extensions.hasGLExtension( EXTENSION_NAME )
|