wut  1.0.0-beta9
Wii U Toolchain
display.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "enum.h"
4 #include "surface.h"
5 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 void
17 GX2SetTVEnable(BOOL enable);
18 
19 void
20 GX2SetDRCEnable(BOOL enable);
21 
22 void
23 GX2CalcTVSize(GX2TVRenderMode tvRenderMode,
24  GX2SurfaceFormat surfaceFormat,
25  GX2BufferingMode bufferingMode,
26  uint32_t *size,
27  uint32_t *unkOut);
28 
29 void
30 GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode,
31  GX2SurfaceFormat surfaceFormat,
32  GX2BufferingMode bufferingMode,
33  uint32_t *size,
34  uint32_t *unkOut);
35 
36 void
37 GX2SetTVBuffer(void *buffer,
38  uint32_t size,
39  GX2TVRenderMode tvRenderMode,
40  GX2SurfaceFormat surfaceFormat,
41  GX2BufferingMode bufferingMode);
42 
43 void
44 GX2SetDRCBuffer(void *buffer,
45  uint32_t size,
46  GX2DrcRenderMode drcRenderMode,
47  GX2SurfaceFormat surfaceFormat,
48  GX2BufferingMode bufferingMode);
49 
50 void
51 GX2SetTVScale(uint32_t x,
52  uint32_t y);
53 
54 void
55 GX2SetDRCScale(uint32_t x,
56  uint32_t y);
57 
60 
63 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
GX2GetSystemTVScanMode
GX2TVScanMode GX2GetSystemTVScanMode()
GX2CalcDRCSize
void GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
surface.h
GX2TVScanMode
GX2TVScanMode
Definition: enum.h:507
GX2GetSystemDRCScanMode
GX2DrcRenderMode GX2GetSystemDRCScanMode()
GX2SetTVBuffer
void GX2SetTVBuffer(void *buffer, uint32_t size, GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
GX2SetDRCBuffer
void GX2SetDRCBuffer(void *buffer, uint32_t size, GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
GX2CalcTVSize
void GX2CalcTVSize(GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
wut.h
GX2DrcRenderMode
GX2DrcRenderMode
Definition: enum.h:151
GX2BufferingMode
GX2BufferingMode
Definition: enum.h:106
GX2TVRenderMode
GX2TVRenderMode
Definition: enum.h:499
GX2SetDRCEnable
void GX2SetDRCEnable(BOOL enable)
GX2SetTVScale
void GX2SetTVScale(uint32_t x, uint32_t y)
GX2GetSystemDRCMode
GX2DrcRenderMode GX2GetSystemDRCMode()
BOOL
int32_t BOOL
Definition: wut_types.h:4
GX2SetDRCScale
void GX2SetDRCScale(uint32_t x, uint32_t y)
GX2SetTVEnable
void GX2SetTVEnable(BOOL enable)
GX2SurfaceFormat
GX2SurfaceFormat
Definition: enum.h:334
enum.h