Download lib/python3.9/site-packages/OpenGL/GL/ATI/vertex_attrib_array_object.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/GL/ATI/vertex_attrib_array_object.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/OpenGL/GL/ATI/vertex_attrib_array_object.py
-
curl -L -o vertex_attrib_array_object.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/GL/ATI/vertex_attrib_array_object.py
1.46 kB
| '''OpenGL extension ATI.vertex_attrib_array_object | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.ATI.vertex_attrib_array_object to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension defines an interface that allows multiple sets of | |
| generic vertex attribute data to be cached in persistent server-side | |
| memory. It is intended to allow client data to be stored in memory | |
| that can be directly accessed by graphics hardware. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/ATI/vertex_attrib_array_object.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.vertex_attrib_array_object import * | |
| from OpenGL.raw.GL.ATI.vertex_attrib_array_object import _EXTENSION_NAME | |
| def glInitVertexAttribArrayObjectATI(): | |
| '''Return boolean indicating whether this extension is available''' | |
| from OpenGL import extensions | |
| return extensions.hasGLExtension( _EXTENSION_NAME ) | |
| glGetVertexAttribArrayObjectfvATI=wrapper.wrapper(glGetVertexAttribArrayObjectfvATI).setOutput( | |
| 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True | |
| ) | |
| glGetVertexAttribArrayObjectivATI=wrapper.wrapper(glGetVertexAttribArrayObjectivATI).setOutput( | |
| 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True | |
| ) | |
| ### END AUTOGENERATED SECTION |