~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/ARB/depth_texture.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 ARB.depth_texture
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.ARB.depth_texture to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This is a clarification of the GL_SGIX_depth_texture extension.  The
 
10
        original overview follows:
 
11
        
 
12
        This extension defines a new depth texture format.  An important
 
13
        application of depth texture images is shadow casting, but separating
 
14
        this from the shadow extension allows for the potential use of depth
 
15
        textures in other applications such as image-based rendering or
 
16
        displacement mapping.  This extension does not define new depth-texture
 
17
        environment functions, such as filtering or applying the depth values
 
18
        computed from a texture but leaves this to other extensions, such as
 
19
        the shadow extension.
 
20
 
 
21
The official definition of this extension is available here:
 
22
http://www.opengl.org/registry/specs/ARB/depth_texture.txt
 
23
'''
 
24
from OpenGL import platform, constants, constant, arrays
 
25
from OpenGL import extensions, wrapper
 
26
from OpenGL.GL import glget
 
27
import ctypes
 
28
from OpenGL.raw.GL.ARB.depth_texture import *
 
29
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'