WUT  0.1
Wii U Toolchain
swap.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 typedef enum GX2ScanTarget
15 {
19 
21 typedef struct GX2Texture GX2Texture;
22 
23 void
25  GX2ScanTarget scanTarget);
26 
27 void
29 
30 BOOL
32  GX2Texture *texture);
33 
34 BOOL
36  float *gammaOut);
37 
38 uint32_t
40 
41 void
42 GX2SetSwapInterval(uint32_t interval);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
GX2ScanTarget
Definition: swap.h:14
uint32_t GX2GetSwapInterval()
void GX2SetSwapInterval(uint32_t interval)
BOOL GX2GetLastFrameGamma(GX2ScanTarget scanTarget, float *gammaOut)
int BOOL
Definition: wut_types.h:4
void GX2SwapScanBuffers()
BOOL GX2GetLastFrame(GX2ScanTarget scanTarget, GX2Texture *texture)
void GX2CopyColorBufferToScanBuffer(GX2ColorBuffer *buffer, GX2ScanTarget scanTarget)