Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /SGIX /pixel_texture.py
| '''OpenGL extension SGIX.pixel_texture | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.SGIX.pixel_texture to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension allows the color components of pixel groups to be used as | |
| texture coordinates, effectively converting a color image into a texture | |
| coordinate image. Because texture mapping is essentially a | |
| multidimensional table lookup, this conversion supports multidimensional | |
| color lookups for images. Such multidimensional lookups can be used to | |
| implement very accurate color space conversions. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/SGIX/pixel_texture.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.SGIX.pixel_texture import * | |
| from OpenGL.raw.GL.SGIX.pixel_texture import _EXTENSION_NAME | |
| def glInitPixelTextureSGIX(): | |
| '''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.19 kB
- Xet hash:
- dcce25d8be76616b701fa7efba0b9ae63b46064095ec0d88f8abc4c18379f3f5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.