~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/ATI/fragment_shader.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.fragment_shader
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.ATI.fragment_shader to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This extension exposes a powerful fragment shading model which
 
10
        provides a very general means of expressing fragment color blending
 
11
        and dependent texture address modification.  The programming is
 
12
        a register-based model in which there is a fixed number of 
 
13
        instructions, texture lookups, read/write registers, and constants.
 
14
        
 
15
        The fragment shader extension provides a unified instruction set
 
16
        for operating on address or color data and eliminates the 
 
17
        distinction between the two.  This extension provides all the 
 
18
        interfaces necessary to fully expose this programmable fragment 
 
19
        shader in GL.
 
20
        
 
21
        Although conceived as a device-independent extension which would 
 
22
        expose the capabilities of future generations of hardware, changing 
 
23
        trends in programmable hardware have affected the lifespan of this 
 
24
        extension.  For this reason you will now find a fixed set of 
 
25
        features and resources exposed, and the queries to determine this 
 
26
        set have been deprecated.
 
27
 
 
28
The official definition of this extension is available here:
 
29
http://www.opengl.org/registry/specs/ATI/fragment_shader.txt
 
30
'''
 
31
from OpenGL import platform, constants, constant, arrays
 
32
from OpenGL import extensions, wrapper
 
33
from OpenGL.GL import glget
 
34
import ctypes
 
35
from OpenGL.raw.GL.ATI.fragment_shader import *
 
36
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'