wut  v1.7.0
Wii U Toolchain
clear.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "enum.h"
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef struct GX2ColorBuffer GX2ColorBuffer;
16 typedef struct GX2DepthBuffer GX2DepthBuffer;
17 
18 void
20  float red,
21  float green,
22  float blue,
23  float alpha);
24 
25 void
27  float depth,
28  uint8_t stencil,
29  GX2ClearFlags clearMode);
30 
31 void
33  GX2DepthBuffer *depthBuffer,
34  float red,
35  float green,
36  float blue,
37  float alpha,
38  float depth,
39  uint8_t stencil,
40  GX2ClearFlags clearMode);
41 
42 void
44  float depth);
45 
46 void
48  uint8_t stencil);
49 
50 void
52  float depth,
53  uint8_t stencil);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
void GX2SetClearStencil(GX2DepthBuffer *depthBuffer, uint8_t stencil)
void GX2SetClearDepth(GX2DepthBuffer *depthBuffer, float depth)
void GX2ClearColor(GX2ColorBuffer *colorBuffer, float red, float green, float blue, float alpha)
void GX2ClearBuffersEx(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, float depth, uint8_t stencil, GX2ClearFlags clearMode)
void GX2ClearDepthStencilEx(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil, GX2ClearFlags clearMode)
void GX2SetClearDepthStencil(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil)
GX2ClearFlags
Definition: enum.h:171