File: texture_select.py

package info (click to toggle)
pyopengl 2.0.1.08-5.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 19,484 kB
  • ctags: 9,036
  • sloc: pascal: 64,950; xml: 28,088; ansic: 20,696; python: 19,761; tcl: 668; makefile: 240; sh: 25
file content (40 lines) | stat: -rw-r--r-- 1,533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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/SGIS/texture_select.txt'
__api_version__ = 0x10b

GL_DUAL_ALPHA4_SGIS               = 0x8110
GL_DUAL_ALPHA8_SGIS               = 0x8111
GL_DUAL_ALPHA12_SGIS              = 0x8112
GL_DUAL_ALPHA16_SGIS              = 0x8113
GL_DUAL_LUMINANCE4_SGIS           = 0x8114
GL_DUAL_LUMINANCE8_SGIS           = 0x8115
GL_DUAL_LUMINANCE12_SGIS          = 0x8116
GL_DUAL_LUMINANCE16_SGIS          = 0x8117
GL_DUAL_INTENSITY4_SGIS           = 0x8118
GL_DUAL_INTENSITY8_SGIS           = 0x8119
GL_DUAL_INTENSITY12_SGIS          = 0x811A
GL_DUAL_INTENSITY16_SGIS          = 0x811B
GL_DUAL_LUMINANCE_ALPHA4_SGIS     = 0x811C
GL_DUAL_LUMINANCE_ALPHA8_SGIS     = 0x811D
GL_QUAD_ALPHA4_SGIS               = 0x811E
GL_QUAD_ALPHA8_SGIS               = 0x811F
GL_QUAD_LUMINANCE4_SGIS           = 0x8120
GL_QUAD_LUMINANCE8_SGIS           = 0x8121
GL_QUAD_INTENSITY4_SGIS           = 0x8122
GL_QUAD_INTENSITY8_SGIS           = 0x8123
GL_DUAL_TEXTURE_SELECT_SGIS       = 0x8124
GL_QUAD_TEXTURE_SELECT_SGIS       = 0x8125


def glInitTextureSelectSGIS():
	from OpenGL.GL import __has_extension
	return __has_extension("GL_SGIS_texture_select")

glInitTexSelectSGIS = glInitTextureSelectSGIS

def __info():
	if glInitTextureSelectSGIS():
		return []