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
|
'''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_bindless_texture'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_NV_bindless_texture',False)
@_f
@_p.types(_cs.GLuint64,_cs.GLuint)
def glGetTextureHandleNV( texture ):pass
@_f
@_p.types(_cs.GLuint64,_cs.GLuint,_cs.GLuint)
def glGetTextureSamplerHandleNV( texture,sampler ):pass
@_f
@_p.types(None,_cs.GLuint64)
def glMakeTextureHandleResidentNV( handle ):pass
@_f
@_p.types(None,_cs.GLuint64)
def glMakeTextureHandleNonResidentNV( handle ):pass
@_f
@_p.types(_cs.GLuint64,_cs.GLuint,_cs.GLint,_cs.GLboolean,_cs.GLint,_cs.GLenum)
def glGetImageHandleNV( texture,level,layered,layer,format ):pass
@_f
@_p.types(None,_cs.GLuint64,_cs.GLenum)
def glMakeImageHandleResidentNV( handle,access ):pass
@_f
@_p.types(None,_cs.GLuint64)
def glMakeImageHandleNonResidentNV( handle ):pass
@_f
@_p.types(None,_cs.GLint,_cs.GLuint64)
def glUniformHandleui64NV( location,value ):pass
@_f
@_p.types(None,_cs.GLint,_cs.GLsizei,arrays.GLuint64Array)
def glUniformHandleui64vNV( location,count,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLuint64)
def glProgramUniformHandleui64NV( program,location,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,arrays.GLuint64Array)
def glProgramUniformHandleui64vNV( program,location,count,values ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint64)
def glIsTextureHandleResidentNV( handle ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint64)
def glIsImageHandleResidentNV( handle ):pass
def glInitBindlessTextureNV():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( EXTENSION_NAME )
|