Viewing file: texture_compression_vtc.py (888 B) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'''OpenGL extension NV.texture_compression_vtc
This module customises the behaviour of the OpenGL.raw.GL.NV.texture_compression_vtc to provide a more Python-friendly API
Overview (from the spec) This extension adds support for the VTC 3D texture compression formats, which are analogous to the S3TC texture compression formats, with the addition of some retiling in the Z direction. VTC has the same compression ratio as S3TC and uses 4x4x1, 4x4x2, (4x4x3 when non-power-of-two textures are supported), or 4x4x4 blocks.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/NV/texture_compression_vtc.txt ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions, wrapper from OpenGL.GL import glget import ctypes from OpenGL.raw.GL.NV.texture_compression_vtc import * ### END AUTOGENERATED SECTION
|