Viewing file: element_array.py (1.19 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'''OpenGL extension ATI.element_array
This module customises the behaviour of the OpenGL.raw.GL.ATI.element_array to provide a more Python-friendly API
Overview (from the spec) This extension provides a mechanism for an application to create an array of index data for use in specifying geometric primitives. This extension is most useful when used in conjunction with the ATI_vertex_array_object extension. ATI_vertex_array_object provides an interface for storing vertex array data in persistent, hardware-addressable memory. In cases where large amounts of vertex data are in use, the index data used to construct primitives (typically as passed to the GL through DrawElements) can impose a significant bandwidth burden. ATI_element_array allows the application to specify independent arrays of elements, which can then be cached using ATI_vertex_array_object.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/ATI/element_array.txt ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions, wrapper from OpenGL.GL import glget import ctypes from OpenGL.raw.GL.ATI.element_array import * ### END AUTOGENERATED SECTION
|