Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /SUN /mesh_array.py
| '''OpenGL extension SUN.mesh_array | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.SUN.mesh_array to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension defines a new mesh primitive. | |
| The primitive can only be used with vertex arrays and cannot be used in | |
| immediate mode. The application must arrange the vertices in row major format. | |
| For example if a quad mesh is 4 vertices wide the, vertices in the first | |
| row are the first 4 vertices and vertices in the second row are vertices 5 | |
| through 8. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/SUN/mesh_array.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.SUN.mesh_array import * | |
| from OpenGL.raw.GL.SUN.mesh_array import _EXTENSION_NAME | |
| def glInitMeshArraySUN(): | |
| '''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.12 kB
- Xet hash:
- 138f118f84fa0b171aaf97eff0f16354aa96cc503117b0046a3299738e3cc814
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.