wut
1.0.0-beta9
Wii U Toolchain
include
gx2
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
19
GX2CopyColorBufferToScanBuffer
(
GX2ColorBuffer
*buffer,
20
GX2ScanTarget
scanTarget);
21
22
void
23
GX2SwapScanBuffers
();
24
25
BOOL
26
GX2GetLastFrame
(
GX2ScanTarget
scanTarget,
27
GX2Texture
*texture);
28
29
BOOL
30
GX2GetLastFrameGamma
(
GX2ScanTarget
scanTarget,
31
float
*gammaOut);
32
33
uint32_t
34
GX2GetSwapInterval
();
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
Generated by
1.8.17