wut  1.0.0-alpha
Wii U Toolchain
enum.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #define GX2_FALSE (0)
15 #define GX2_TRUE (1)
16 #define GX2_DISABLE (0)
17 #define GX2_ENABLE (1)
18 
19 #define GX2_COMMAND_BUFFER_ALIGNMENT (0x40)
20 #define GX2_CONTEXT_STATE_ALIGNMENT (0x100)
21 #define GX2_SCAN_BUFFER_ALIGNMENT (0x1000)
22 #define GX2_SHADER_PROGRAM_ALIGNMENT (0x100)
23 #define GX2_VERTEX_BUFFER_ALIGNMENT (0x40)
24 #define GX2_INDEX_BUFFER_ALIGNMENT (0x20)
25 
26 #define GX2_COMMAND_BUFFER_SIZE (0x400000)
27 
28 typedef enum GX2AAMode
29 {
33 } GX2AAMode;
34 
35 typedef enum GX2AlphaToMaskMode
36 {
43 
44 typedef enum GX2AttribFormat
45 {
49 
53 
57 
61 
67 
68 typedef enum GX2AttribIndexType
69 {
73 
74 typedef enum GX2BlendMode
75 {
95 } GX2BlendMode;
96 
97 typedef enum GX2BlendCombineMode
98 {
105 
106 typedef enum GX2BufferingMode
107 {
112 
113 typedef enum GX2ChannelMask
114 {
131 
132 typedef enum GX2ClearFlags
133 {
137 } GX2ClearFlags;
138 
139 typedef enum GX2CompareFunction
140 {
150 
151 typedef enum GX2DrcRenderMode
152 {
156 
157 typedef enum GX2EventType
158 {
162 } GX2EventType;
163 
164 typedef enum GX2EndianSwapMode
165 {
171 
172 typedef enum GX2FetchShaderType
173 {
179 
180 typedef enum GX2FrontFace
181 {
184 } GX2FrontFace;
185 
186 typedef enum GX2IndexType
187 {
192 } GX2IndexType;
193 
194 typedef enum GX2InvalidateMode
195 {
209 
210 typedef enum GX2InitAttributes
211 {
218 
219 typedef enum GX2LogicOp
220 {
237 } GX2LogicOp;
238 
239 typedef enum GX2PrimitiveMode
240 {
249 
250 typedef enum GX2PolygonMode
251 {
256 
257 typedef enum GX2RenderTarget
258 {
267 
268 typedef enum GX2RoundingMode
269 {
273 
274 typedef enum GX2SamplerVarType
275 {
281 
282 typedef enum GX2ScanTarget
283 {
286 } GX2ScanTarget;
287 
288 typedef enum GX2ShaderMode
289 {
294 } GX2ShaderMode;
295 
296 typedef enum GX2ShaderVarType
297 {
308 
309 typedef enum GX2StencilFunction
310 {
320 
321 typedef enum GX2SurfaceDim
322 {
331 } GX2SurfaceDim;
332 
333 typedef enum GX2SurfaceFormat
334 {
356 
370 
380 
391 
396 
407 
408 typedef enum GX2SurfaceUse
409 {
416 } GX2SurfaceUse;
417 
419 {
424 
425 typedef enum GX2TexBorderType
426 {
432 
433 typedef enum GX2TexClampMode
434 {
441 
443 {
448 
449 typedef enum GX2TexMipPerfMode
450 {
453 
454 typedef enum GX2TexXYFilterMode
455 {
459 
460 typedef enum GX2TexAnisoRatio
461 {
464 
465 typedef enum GX2TexZFilterMode
466 {
471 
472 typedef enum GX2TexZPerfMode
473 {
476 
477 typedef enum GX2TileMode
478 {
496 } GX2TileMode;
497 
498 typedef enum GX2TVRenderMode
499 {
505 
506 typedef enum GX2TVScanMode
507 {
514 } GX2TVScanMode;
515 
516 #ifdef __cplusplus
517 }
518 #endif
519 
GX2ShaderVarType
Definition: enum.h:296
GX2TVScanMode
Definition: enum.h:506
GX2StencilFunction
Definition: enum.h:309
GX2AlphaToMaskMode
Definition: enum.h:35
GX2PrimitiveMode
Definition: enum.h:239
GX2DrcRenderMode
Definition: enum.h:151
GX2BlendCombineMode
Definition: enum.h:97
GX2TexAnisoRatio
Definition: enum.h:460
GX2FetchShaderType
Definition: enum.h:172
GX2LogicOp
Definition: enum.h:219
GX2InvalidateMode
Definition: enum.h:194
GX2RoundingMode
Definition: enum.h:268
GX2EventType
Definition: enum.h:157
GX2CompareFunction
Definition: enum.h:139
GX2FrontFace
Definition: enum.h:180
GX2ShaderMode
Definition: enum.h:288
GX2TileMode
Definition: enum.h:477
GX2EndianSwapMode
Definition: enum.h:164
GX2IndexType
Definition: enum.h:186
GX2AttribFormat
Definition: enum.h:44
GX2PolygonMode
Definition: enum.h:250
GX2BufferingMode
Definition: enum.h:106
GX2ClearFlags
Definition: enum.h:132
GX2RenderTarget
Definition: enum.h:257
GX2TexClampMode
Definition: enum.h:433
GX2SurfaceUse
Definition: enum.h:408
GX2ChannelMask
Definition: enum.h:113
GX2AttribIndexType
Definition: enum.h:68
GX2BlendMode
Definition: enum.h:74
GX2SurfaceDim
Definition: enum.h:321
GX2InitAttributes
Definition: enum.h:210
GX2TexXYFilterMode
Definition: enum.h:454
GX2TessellationMode
Definition: enum.h:418
GX2AAMode
Definition: enum.h:28
GX2TexZFilterMode
Definition: enum.h:465
GX2TexBorderType
Definition: enum.h:425
GX2TVRenderMode
Definition: enum.h:498
GX2TexZPerfMode
Definition: enum.h:472
GX2TexMipPerfMode
Definition: enum.h:449
GX2SamplerVarType
Definition: enum.h:274
GX2ScanTarget
Definition: enum.h:282
GX2SurfaceFormat
Definition: enum.h:333
GX2TexMipFilterMode
Definition: enum.h:442