Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /NV /compute_program5.py
| '''OpenGL extension NV.compute_program5 | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.NV.compute_program5 to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension builds on the ARB_compute_shader extension to provide new | |
| assembly compute program capability for OpenGL. ARB_compute_shader adds | |
| the basic functionality, including the ability to dispatch compute work. | |
| This extension provides the ability to write a compute program in | |
| assembly, using the same basic syntax and capability set found in the | |
| NV_gpu_program4 and NV_gpu_program5 extensions. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/NV/compute_program5.txt | |
| ''' | |
| from OpenGL import platform, constant, arrays | |
| from OpenGL import extensions, wrapper | |
| import ctypes | |
| from OpenGL.raw.GL import _types, _glgets | |
| from OpenGL.raw.GL.NV.compute_program5 import * | |
| from OpenGL.raw.GL.NV.compute_program5 import _EXTENSION_NAME | |
| def glInitComputeProgram5NV(): | |
| '''Return boolean indicating whether this extension is available''' | |
| from OpenGL import extensions | |
| return extensions.hasGLExtension( _EXTENSION_NAME ) | |
| ### END AUTOGENERATED SECTION |
Xet Storage Details
- Size:
- 1.2 kB
- Xet hash:
- 8d5fe7a1d4fc78eb33a8eac40d2a875f03658fb101dd768eda4e124b89b825fd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.