Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /ATI /texture_float.py
| '''OpenGL extension ATI.texture_float | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.ATI.texture_float to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension adds texture internal formats with 32 and 16 bit | |
| floating-point components. The 32 bit floating-point components | |
| are in the standard IEEE float format. The 16 bit floating-point | |
| components have 1 sign bit, 5 exponent bits, and 10 mantissa bits. | |
| Floating-point components are clamped to the limits of the range | |
| representable by their format. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/ATI/texture_float.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.ATI.texture_float import * | |
| from OpenGL.raw.GL.ATI.texture_float import _EXTENSION_NAME | |
| def glInitTextureFloatATI(): | |
| '''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.14 kB
- Xet hash:
- cc1cce74ad7b050717295c50490615d5487af9d21c988587720860c4ee8adf75
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.