1'''OpenGL extension NV.copy_image 2 3This module customises the behaviour of the 4OpenGL.raw.WGL.NV.copy_image to provide a more 5Python-friendly API 6 7Overview (from the spec) 8 9 This extension enables efficient image data transfer between image 10 objects (i.e. textures and renderbuffers) without the need to bind 11 the objects or otherwise configure the rendering pipeline. The 12 WGL and GLX versions allow copying between images in different 13 contexts, even if those contexts are in different sharelists or 14 even on different physical devices. 15 16The official definition of this extension is available here: 17http://www.opengl.org/registry/specs/NV/copy_image.txt 18''' 19from OpenGL import platform, constant, arrays 20from OpenGL import extensions, wrapper 21import ctypes 22from OpenGL.raw.WGL import _types, _glgets 23from OpenGL.raw.WGL.NV.copy_image import * 24from OpenGL.raw.WGL.NV.copy_image import _EXTENSION_NAME 25 26def glInitCopyImageNV(): 27 '''Return boolean indicating whether this extension is available''' 28 from OpenGL import extensions 29 return extensions.hasGLExtension( _EXTENSION_NAME ) 30 31 32### END AUTOGENERATED SECTION