wut  v1.7.0
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 
15 typedef struct GX2ColorBuffer GX2ColorBuffer;
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 
GX2ScanTarget
Definition: enum.h:340
void GX2CopyColorBufferToScanBuffer(const GX2ColorBuffer *buffer, GX2ScanTarget scanTarget)
BOOL GX2GetLastFrame(GX2ScanTarget scanTarget, GX2Texture *texture)
void GX2SwapScanBuffers()
uint32_t GX2GetSwapInterval()
BOOL GX2GetLastFrameGamma(GX2ScanTarget scanTarget, float *gammaOut)
void GX2SetSwapInterval(uint32_t interval)
int32_t BOOL
Definition: wut_types.h:7