~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/ATI/texture_float.py

  • Committer: matobet at gmail
  • Date: 2010-06-26 14:11:04 UTC
  • Revision ID: matobet@gmail.com-20100626141104-k011ofmltgiiu60g
Initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''OpenGL extension ATI.texture_float
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.ATI.texture_float to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This extension adds texture internal formats with 32 and 16 bit
 
10
        floating-point components.  The 32 bit floating-point components
 
11
        are in the standard IEEE float format.  The 16 bit floating-point
 
12
        components have 1 sign bit, 5 exponent bits, and 10 mantissa bits.
 
13
        Floating-point components are clamped to the limits of the range
 
14
        representable by their format.
 
15
        
 
16
 
 
17
The official definition of this extension is available here:
 
18
http://www.opengl.org/registry/specs/ATI/texture_float.txt
 
19
'''
 
20
from OpenGL import platform, constants, constant, arrays
 
21
from OpenGL import extensions, wrapper
 
22
from OpenGL.GL import glget
 
23
import ctypes
 
24
from OpenGL.raw.GL.ATI.texture_float import *
 
25
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'