~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to raw/GL/SGIX/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 SGIX.depth_texture
 
2
 
 
3
Automatically generated by the get_gl_extensions script, do not edit!
 
4
'''
 
5
from OpenGL import platform, constants, constant, arrays
 
6
from OpenGL import extensions
 
7
from OpenGL.GL import glget
 
8
import ctypes
 
9
EXTENSION_NAME = 'GL_SGIX_depth_texture'
 
10
_DEPRECATED = False
 
11
GL_DEPTH_COMPONENT16_SGIX = constant.Constant( 'GL_DEPTH_COMPONENT16_SGIX', 0x81A5 )
 
12
GL_DEPTH_COMPONENT24_SGIX = constant.Constant( 'GL_DEPTH_COMPONENT24_SGIX', 0x81A6 )
 
13
GL_DEPTH_COMPONENT32_SGIX = constant.Constant( 'GL_DEPTH_COMPONENT32_SGIX', 0x81A7 )
 
14
 
 
15
 
 
16
def glInitDepthTextureSGIX():
 
17
    '''Return boolean indicating whether this extension is available'''
 
18
    return extensions.hasGLExtension( EXTENSION_NAME )