wut  1.0.0-beta9
Wii U Toolchain
swap.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 
16 typedef struct GX2Texture GX2Texture;
17 
18 void
20  GX2ScanTarget scanTarget);
21 
22 void
24 
25 BOOL
27  GX2Texture *texture);
28 
29 BOOL
31  float *gammaOut);
32 
33 uint32_t
35 
36 void
37 GX2SetSwapInterval(uint32_t interval);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
GX2GetLastFrame
BOOL GX2GetLastFrame(GX2ScanTarget scanTarget, GX2Texture *texture)
GX2CopyColorBufferToScanBuffer
void GX2CopyColorBufferToScanBuffer(GX2ColorBuffer *buffer, GX2ScanTarget scanTarget)
GX2GetSwapInterval
uint32_t GX2GetSwapInterval()
wut.h
GX2ColorBuffer
Definition: surface.h:87
GX2SetSwapInterval
void GX2SetSwapInterval(uint32_t interval)
GX2GetLastFrameGamma
BOOL GX2GetLastFrameGamma(GX2ScanTarget scanTarget, float *gammaOut)
GX2SwapScanBuffers
void GX2SwapScanBuffers()
BOOL
int32_t BOOL
Definition: wut_types.h:4
GX2ScanTarget
GX2ScanTarget
Definition: enum.h:283
GX2Texture
Definition: texture.h:17
enum.h