Mercurial > projects > dstep
comparison dstep/opengl/gliDispatch.d @ 16:19885b43130e
Huge update, the bridge actually works now
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 03 Jan 2010 22:06:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:7ff919f595d5 | 16:19885b43130e |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Sep 24, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.opengl.gliDispatch; | |
8 | |
9 import dstep.opengl.gl; | |
10 import dstep.opengl.glext; | |
11 import dstep.opengl.gliContext; | |
12 | |
13 struct GLIFunctionDispatch | |
14 { | |
15 uint op; | |
16 uint func; | |
17 int n; | |
18 GLuint* textures; | |
19 uint target; | |
20 int width; | |
21 int height; | |
22 float xorig; | |
23 float yorig; | |
24 float xmove; | |
25 float ymove; | |
26 uint sfactor; | |
27 uint type; | |
28 float red; | |
29 float green; | |
30 float blue; | |
31 uint plane; | |
32 uint face; | |
33 int size; | |
34 int stride; | |
35 int x; | |
36 int y; | |
37 int level; | |
38 uint internalFormat; | |
39 int xoffset; | |
40 int yoffset; | |
41 uint list; | |
42 double zNear; | |
43 uint mode; | |
44 int first; | |
45 int count; | |
46 uint format; | |
47 double u; | |
48 int i1; | |
49 int i2; | |
50 int j1; | |
51 int i; | |
52 uint pname; | |
53 double left; | |
54 double right; | |
55 double bottom; | |
56 double top; | |
57 uint light; | |
58 uint query; | |
59 uint map; | |
60 uint coord; | |
61 int factor; | |
62 double u1; | |
63 double u2; | |
64 int order; | |
65 int ustride; | |
66 int uorder; | |
67 double v1; | |
68 double v2; | |
69 int vstride; | |
70 int vorder; | |
71 int un; | |
72 int vn; | |
73 byte nx; | |
74 byte ny; | |
75 int mapsize; | |
76 float xfactor; | |
77 double z; | |
78 double x1; | |
79 double y1; | |
80 double x2; | |
81 double angle; | |
82 int ref_; | |
83 uint fail; | |
84 uint zfail; | |
85 double s; | |
86 double t; | |
87 double r; | |
88 uint internalformat; | |
89 int border; | |
90 uint sfactorRGB; | |
91 uint dfactorRGB; | |
92 uint sfactorAlpha; | |
93 int depth; | |
94 int imageSize; | |
95 int zoffset; | |
96 uint start; | |
97 uint end; | |
98 GLvoid* row; | |
99 GLvoid* column; | |
100 ubyte reset; | |
101 uint stage; | |
102 uint portion; | |
103 uint variable; | |
104 uint input; | |
105 uint mapping; | |
106 uint abOutput; | |
107 uint cdOutput; | |
108 uint sumOutput; | |
109 uint scale; | |
110 uint bias; | |
111 ubyte abDotProduct; | |
112 ubyte cdDotProduct; | |
113 int length; | |
114 uint equationRGB; | |
115 float value; | |
116 uint object; | |
117 uint index; | |
118 ubyte normalized; | |
119 int len; | |
120 GLvoid** indices; | |
121 uint sfail; | |
122 uint dpfail; | |
123 uint frontfunc; | |
124 uint backfunc; | |
125 GLhandleARB containerObj; | |
126 GLhandleARB shaderObj; | |
127 GLcharARB** string; | |
128 int location; | |
129 float v0; | |
130 ubyte transpose; | |
131 GLhandleARB obj; | |
132 int maxLength; | |
133 int maxCount; | |
134 GLhandleARB programObj; | |
135 uint id; | |
136 GLvoid* data; | |
137 int offset; | |
138 double zmin; | |
139 uint shader; | |
140 uint program; | |
141 int bufSize; | |
142 uint attachment; | |
143 uint textarget; | |
144 uint texture; | |
145 uint renderbuffertarget; | |
146 uint objectType; | |
147 uint name; | |
148 uint program_name; | |
149 uint buffer; | |
150 GLchar** varyings; | |
151 uint param; | |
152 int g; | |
153 int b; | |
154 uint colorNumber; | |
155 GLuint* shaders; | |
156 uint binaryformat; | |
157 GLvoid* binary; | |
158 uint shadertype; | |
159 uint precisiontype; | |
160 GLint* range; | |
161 GLint* listofformats; | |
162 int srcX0; | |
163 int srcY0; | |
164 int srcX1; | |
165 int srcY1; | |
166 int dstX0; | |
167 int dstY0; | |
168 int dstX1; | |
169 int dstY1; | |
170 uint mask; | |
171 int samples; | |
172 } | |
173 |