texture_range.py :  » Development » PyObjC » trunk » pyobjc » PyOpenGL-2.0.2.01 » OpenGL » GL » SGIX » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Development » PyObjC 
PyObjC » trunk » pyobjc » PyOpenGL 2.0.2.01 » OpenGL » GL » SGIX » texture_range.py
import string
__version__ = string.split('$Revision: 1.6 $')[1]
__date__ = string.join(string.split('$Date: 2001/08/10 18:42:33 $')[1:3], ' ')
__author__ = 'Tarn Weisner Burton <twburton@users.sourceforge.net>'
__doc__ = 'http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_range.txt'
__api_version__ = 0x104

GL_RGB_SIGNED_SGIX = 0x85E0
GL_RGBA_SIGNED_SGIX = 0x85E1
GL_ALPHA_SIGNED_SGIX = 0x85E2
GL_LUMINANCE_SIGNED_SGIX = 0x85E3
GL_INTENSITY_SIGNED_SGIX = 0x85E4
GL_LUMINANCE_ALPHA_SIGNED_SGIX = 0x85E5
GL_RGB16_SIGNED_SGIX = 0x85E6
GL_RGBA16_SIGNED_SGIX = 0x85E7
GL_ALPHA16_SIGNED_SGIX = 0x85E8
GL_LUMINANCE16_SIGNED_SGIX = 0x85E9
GL_INTENSITY16_SIGNED_SGIX = 0x85EA
GL_LUMINANCE16_ALPHA16_SIGNED_SGIX = 0x85EB
GL_RGB_EXTENDED_RANGE_SGIX = 0x85EC
GL_RGBA_EXTENDED_RANGE_SGIX = 0x85ED
GL_ALPHA_EXTENDED_RANGE_SGIX = 0x85EE
GL_LUMINANCE_EXTENDED_RANGE_SGIX = 0x85EF
GL_INTENSITY_EXTENDED_RANGE_SGIX = 0x85F0
GL_LUMINANCE_ALPHA_EXTENDED_RANGE_SGIX = 0x85F1
GL_RGB16_EXTENDED_RANGE_SGIX = 0x85F2
GL_RGBA16_EXTENDED_RANGE_SGIX = 0x85F3
GL_ALPHA16_EXTENDED_RANGE_SGIX = 0x85F4
GL_LUMINANCE16_EXTENDED_RANGE_SGIX = 0x85F5
GL_INTENSITY16_EXTENDED_RANGE_SGIX = 0x85F6
GL_LUMINANCE16_ALPHA16_EXTENDED_RANGE_SGIX = 0x85F7

GL_MIN_LUMINANCE_SGIS = 0x85F8
GL_MAX_LUMINANCE_SGIS = 0x85F9
GL_MIN_INTENSITY_SGIS = 0x85FA
GL_MAX_INTENSITY_SGIS = 0x85FB

def glInitTextureRangeSGIX():
  from OpenGL.GL import __has_extension
  return __has_extension("GL_SGIX_texture_range")

glInitTexRangeSGIX = glInitTextureRangeSGIX

def __info():
  if glInitTextureRangeSGIX():
    return []
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.