WUT  0.1
Wii U Toolchain
clear.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 
16 
17 typedef enum GX2ClearFlags
18 {
22 
23 void
24 GX2ClearColor(GX2ColorBuffer *colorBuffer,
25  float red,
26  float green,
27  float blue,
28  float alpha);
29 
30 void
32  GX2ClearFlags clearMode);
33 
34 void
36  float depth,
37  uint8_t stencil,
38  GX2ClearFlags clearMode);
39 
40 void
41 GX2ClearBuffers(GX2ColorBuffer *colorBuffer,
42  GX2DepthBuffer *depthBuffer,
43  float red,
44  float green,
45  float blue,
46  float alpha,
47  GX2ClearFlags clearMode);
48 
49 void
51  GX2DepthBuffer *depthBuffer,
52  float red,
53  float green,
54  float blue,
55  float alpha,
56  float depth,
57  uint8_t stencil,
58  GX2ClearFlags clearMode);
59 
60 void
61 GX2SetClearDepth(GX2DepthBuffer *depthBuffer,
62  float depth);
63 
64 void
66  uint8_t stencil);
67 
68 void
70  float depth,
71  uint8_t stencil);
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
void GX2SetClearDepth(GX2DepthBuffer *depthBuffer, float depth)
void GX2ClearColor(GX2ColorBuffer *colorBuffer, float red, float green, float blue, float alpha)
GX2ClearFlags
Definition: clear.h:17
void GX2SetClearStencil(GX2DepthBuffer *depthBuffer, uint8_t stencil)
void GX2ClearDepthStencilEx(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil, GX2ClearFlags clearMode)
void GX2ClearDepthStencil(GX2DepthBuffer *depthBuffer, GX2ClearFlags clearMode)
void GX2ClearBuffersEx(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, float depth, uint8_t stencil, GX2ClearFlags clearMode)
void GX2ClearBuffers(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, GX2ClearFlags clearMode)
void GX2SetClearDepthStencil(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil)