VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/rmxftmpl.x@ 69505

Last change on this file since 69505 was 69505, checked in by vboxsync, 7 years ago

More scm updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.3 KB
Line 
1xof 0302txt 0064
2// Copyright (C) 2011 Dylan Smith
3//
4// This library is free software; you can redistribute it and/or
5// modify it under the terms of the GNU Lesser General Public
6// License as published by the Free Software Foundation; either
7// version 2.1 of the License, or (at your option) any later version.
8//
9// This library is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public
15// License along with this library; if not, write to the Free Software
16// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
18/*
19 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
20 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
21 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
22 * a choice of LGPL license versions is made available with the language indicating
23 * that LGPLv2 or any later version may be used, or where a choice of which version
24 * of the LGPL is applied is otherwise unspecified.
25 */
26
27template Header
28{
29 <3D82AB43-62DA-11CF-AB39-0020AF71E433>
30 WORD major;
31 WORD minor;
32 DWORD flags;
33}
34
35template Vector
36{
37 <3D82AB5E-62DA-11CF-AB39-0020AF71E433>
38 FLOAT x;
39 FLOAT y;
40 FLOAT z;
41}
42
43template Coords2d
44{
45 <F6F23F44-7686-11CF-8F52-0040333594A3>
46 FLOAT u;
47 FLOAT v;
48}
49
50template Matrix4x4
51{
52 <F6F23F45-7686-11CF-8F52-0040333594A3>
53 array FLOAT matrix[16];
54}
55
56template ColorRGBA
57{
58 <35FF44E0-6C7C-11CF-8F52-0040333594A3>
59 FLOAT red;
60 FLOAT green;
61 FLOAT blue;
62 FLOAT alpha;
63}
64
65template ColorRGB
66{
67 <D3E16E81-7835-11CF-8F52-0040333594A3>
68 FLOAT red;
69 FLOAT green;
70 FLOAT blue;
71}
72
73template IndexedColor
74{
75 <1630B820-7842-11CF-8F52-0040333594A3>
76 DWORD index;
77 ColorRGBA indexColor;
78}
79
80template Boolean
81{
82 <537DA6A0-CA37-11D0-941C-0080C80CFA7B>
83 DWORD truefalse;
84}
85
86template Boolean2d
87{
88 <4885AE63-78E8-11CF-8F52-0040333594A3>
89 Boolean u;
90 Boolean v;
91}
92
93template MaterialWrap
94{
95 <4885AE60-78E8-11CF-8F52-0040333594A3>
96 Boolean u;
97 Boolean v;
98}
99
100template TextureFilename
101{
102 <A42790E1-7810-11CF-8F52-0040333594A3>
103 STRING filename;
104}
105
106template Material
107{
108 <3D82AB4D-62DA-11CF-AB39-0020AF71E433>
109 ColorRGBA faceColor;
110 FLOAT power;
111 ColorRGB specularColor;
112 ColorRGB emissiveColor;
113 [ ... ]
114}
115
116template MeshFace
117{
118 <3D82AB5F-62DA-11CF-AB39-0020AF71E433>
119 DWORD nFaceVertexIndices;
120 array DWORD faceVertexIndices[nFaceVertexIndices];
121}
122
123template MeshFaceWraps
124{
125 <ED1EC5C0-C0A8-11D0-941C-0080C80CFA7B>
126 DWORD nFaceWrapValues;
127 array Boolean2d faceWrapValues[nFaceWrapValues];
128}
129
130template MeshTextureCoords
131{
132 <F6F23F40-7686-11CF-8F52-0040333594A3>
133 DWORD nTextureCoords;
134 array Coords2d textureCoords[nTextureCoords];
135}
136
137template MeshMaterialList
138{
139 <F6F23F42-7686-11CF-8F52-0040333594A3>
140 DWORD nMaterials;
141 DWORD nFaceIndexes;
142 array DWORD faceIndexes[nFaceIndexes];
143 [ Material ]
144}
145
146template MeshNormals
147{
148 <F6F23F43-7686-11CF-8F52-0040333594A3>
149 DWORD nNormals;
150 array Vector normals[nNormals];
151 DWORD nFaceNormals;
152 array MeshFace faceNormals[nFaceNormals];
153}
154
155template MeshVertexColors
156{
157 <1630B821-7842-11CF-8F52-0040333594A3>
158 DWORD nVertexColors;
159 array IndexedColor vertexColors[nVertexColors];
160}
161
162template Mesh
163{
164 <3D82AB44-62DA-11CF-AB39-0020AF71E433>
165 DWORD nVertices;
166 array Vector vertices[nVertices];
167 DWORD nFaces;
168 array MeshFace faces[nFaces];
169 [ ... ]
170}
171
172template FrameTransformMatrix
173{
174 <F6F23F41-7686-11CF-8F52-0040333594A3>
175 Matrix4x4 frameMatrix;
176}
177
178template Frame
179{
180 <3D82AB46-62DA-11CF-AB39-0020AF71E433>
181 [ ... ]
182}
183
184template FloatKeys
185{
186 <10DD46A9-775B-11CF-8F52-0040333594A3>
187 DWORD nValues;
188 array FLOAT values[nValues];
189}
190
191template TimedFloatKeys
192{
193 <F406B180-7B3B-11CF-8F52-0040333594A3>
194 DWORD time;
195 FloatKeys tfkeys;
196}
197
198template AnimationKey
199{
200 <10DD46A8-775B-11CF-8F52-0040333594A3>
201 DWORD keyType;
202 DWORD nKeys;
203 array TimedFloatKeys keys[nKeys];
204}
205
206template AnimationOptions
207{
208 <E2BF56C0-840F-11CF-8F52-0040333594A3>
209 DWORD openclosed;
210 DWORD positionquality;
211}
212
213template Animation
214{
215 <3D82AB4F-62DA-11CF-AB39-0020AF71E433>
216 [ ... ]
217}
218
219template AnimationSet
220{
221 <3D82AB50-62DA-11CF-AB39-0020AF71E433>
222 [ Animation ]
223}
224
225template InlineData
226{
227 <3A23EEA0-94B1-11D0-AB39-0020AF71E433>
228 [ BINARY ]
229}
230
231template Url
232{
233 <3A23EEA1-94B1-11D0-AB39-0020AF71E433>
234 DWORD nUrls;
235 array STRING urls[nUrls];
236}
237
238template ProgressiveMesh
239{
240 <8A63C360-997D-11D0-941C-0080C80CFA7B>
241 [ Url, InlineData ]
242}
243
244template Guid
245{
246 <A42790E0-7810-11CF-8F52-0040333594A3>
247 DWORD data1;
248 WORD data2;
249 WORD data3;
250 array UCHAR data4[8];
251}
252
253template StringProperty
254{
255 <7F0F21E0-BFE1-11D1-82C0-00A0C9697271>
256 STRING key;
257 STRING value;
258}
259
260template PropertyBag
261{
262 <7F0F21E1-BFE1-11D1-82C0-00A0C9697271>
263 [ StringProperty ]
264}
265
266template ExternalVisual
267{
268 <98116AA0-BDBA-11D1-82C0-00A0C9697271>
269 Guid guidExternalVisual;
270 [ ... ]
271}
272
273template RightHanded
274{
275 <7F5D5EA0-D53A-11D1-82C0-00A0C9697271>
276 DWORD bRightHanded;
277}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette