File: half_float.py

package info (click to toggle)
pyopengl 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,184 kB
  • ctags: 21,473
  • sloc: python: 80,468; makefile: 4
file content (152 lines) | stat: -rw-r--r-- 4,546 bytes parent folder | download | duplicates (15)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_NV_half_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_NV_half_float',error_checker=_errors._error_checker)
GL_HALF_FLOAT_NV=_C('GL_HALF_FLOAT_NV',0x140B)
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glColor3hNV(red,green,blue):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glColor3hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glColor4hNV(red,green,blue,alpha):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glColor4hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV)
def glFogCoordhNV(fog):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glFogCoordhvNV(fog):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLhalfNV)
def glMultiTexCoord1hNV(target,s):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLushortArray)
def glMultiTexCoord1hvNV(target,v):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLhalfNV,_cs.GLhalfNV)
def glMultiTexCoord2hNV(target,s,t):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLushortArray)
def glMultiTexCoord2hvNV(target,v):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glMultiTexCoord3hNV(target,s,t,r):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLushortArray)
def glMultiTexCoord3hvNV(target,v):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glMultiTexCoord4hNV(target,s,t,r,q):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLushortArray)
def glMultiTexCoord4hvNV(target,v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glNormal3hNV(nx,ny,nz):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glNormal3hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glSecondaryColor3hNV(red,green,blue):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glSecondaryColor3hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV)
def glTexCoord1hNV(s):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glTexCoord1hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV)
def glTexCoord2hNV(s,t):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glTexCoord2hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glTexCoord3hNV(s,t,r):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glTexCoord3hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glTexCoord4hNV(s,t,r,q):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glTexCoord4hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertex2hNV(x,y):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glVertex2hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertex3hNV(x,y,z):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glVertex3hvNV(v):pass
@_f
@_p.types(None,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertex4hNV(x,y,z,w):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glVertex4hvNV(v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLhalfNV)
def glVertexAttrib1hNV(index,x):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLushortArray)
def glVertexAttrib1hvNV(index,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertexAttrib2hNV(index,x,y):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLushortArray)
def glVertexAttrib2hvNV(index,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertexAttrib3hNV(index,x,y,z):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLushortArray)
def glVertexAttrib3hvNV(index,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV,_cs.GLhalfNV)
def glVertexAttrib4hNV(index,x,y,z,w):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLushortArray)
def glVertexAttrib4hvNV(index,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLushortArray)
def glVertexAttribs1hvNV(index,n,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLushortArray)
def glVertexAttribs2hvNV(index,n,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLushortArray)
def glVertexAttribs3hvNV(index,n,v):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLushortArray)
def glVertexAttribs4hvNV(index,n,v):pass
@_f
@_p.types(None,_cs.GLhalfNV)
def glVertexWeighthNV(weight):pass
@_f
@_p.types(None,arrays.GLushortArray)
def glVertexWeighthvNV(weight):pass