texture.py :  » Development » PyObjC » trunk » pyobjc » PyOpenGL-2.0.2.01 » OpenGL » GL » EXT » 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 » EXT » texture.py
import string
__version__ = string.split('$Revision: 1.11 $')[1]
__date__ = string.join(string.split('$Date: 2001/11/17 14:12:34 $')[1:3], ' ')
__author__ = 'Tarn Weisner Burton <twburton@users.sourceforge.net>'
__doc__ = 'http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture.txt'
__api_version__ = 0x115

ALPHA4_EXT = 0x803B
ALPHA8_EXT = 0x803C
ALPHA12_EXT = 0x803D
ALPHA16_EXT = 0x803E
LUMINANCE4_EXT = 0x803F
LUMINANCE8_EXT = 0x8040
LUMINANCE12_EXT = 0x8041
LUMINANCE16_EXT = 0x8042
LUMINANCE4_ALPHA4_EXT = 0x8043
LUMINANCE6_ALPHA2_EXT = 0x8044
LUMINANCE8_ALPHA8_EXT = 0x8045
LUMINANCE12_ALPHA4_EXT = 0x8046
LUMINANCE12_ALPHA12_EXT = 0x8047
LUMINANCE16_ALPHA16_EXT = 0x8048
INTENSITY_EXT = 0x8049
INTENSITY4_EXT = 0x804A
INTENSITY8_EXT = 0x804B
INTENSITY12_EXT = 0x804C
INTENSITY16_EXT = 0x804D
RGB2_EXT = 0x804E
RGB4_EXT = 0x804F
RGB5_EXT = 0x8050
RGB8_EXT = 0x8051
RGB10_EXT = 0x8052
RGB12_EXT = 0x8053
RGB16_EXT = 0x8054
RGBA2_EXT = 0x8055
RGBA4_EXT = 0x8056
RGB5_A1_EXT = 0x8057
RGBA8_EXT = 0x8058
RGB10_A2_EXT = 0x8059
RGBA12_EXT = 0x805A
RGBA16_EXT = 0x805B

TEXTURE_RED_SIZE_EXT = 0x805C
TEXTURE_GREEN_SIZE_EXT = 0x805D
TEXTURE_BLUE_SIZE_EXT = 0x805E
TEXTURE_ALPHA_SIZE_EXT = 0x805F
TEXTURE_LUMINANCE_SIZE_EXT = 0x8060
TEXTURE_INTENSITY_SIZE_EXT = 0x8061

REPLACE_EXT = 0x8062

PROXY_TEXTURE_1D_EXT = 0x8063

PROXY_TEXTURE_2D_EXT = 0x8064

TEXTURE_TOO_LARGE_EXT = 0x8065

def glInitTextureEXT():
  from OpenGL.GL import __has_extension
  return __has_extension("GL_EXT_texture")

glInitTexEXT = glInitTextureEXT

def __info():
  if glInitTextureEXT():
    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.