WUT  0.1
Wii U Toolchain
display.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "surface.h"
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef enum GX2TVRenderMode
16 {
22 
23 typedef enum GX2DrcRenderMode
24 {
28 
29 typedef enum GX2BufferingMode
30 {
35 
36 typedef enum GX2TVScanMode
37 {
40 
41 void
42 GX2SetTVEnable(BOOL enable);
43 
44 void
45 GX2SetDRCEnable(BOOL enable);
46 
47 void
48 GX2CalcTVSize(GX2TVRenderMode tvRenderMode,
49  GX2SurfaceFormat surfaceFormat,
50  GX2BufferingMode bufferingMode,
51  uint32_t *size,
52  uint32_t *unkOut);
53 
54 void
55 GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode,
56  GX2SurfaceFormat surfaceFormat,
57  GX2BufferingMode bufferingMode,
58  uint32_t *size,
59  uint32_t *unkOut);
60 
61 void
62 GX2SetTVBuffer(void *buffer,
63  uint32_t size,
64  GX2TVRenderMode tvRenderMode,
65  GX2SurfaceFormat surfaceFormat,
66  GX2BufferingMode bufferingMode);
67 
68 void
69 GX2SetDRCBuffer(void *buffer,
70  uint32_t size,
71  GX2DrcRenderMode drcRenderMode,
72  GX2SurfaceFormat surfaceFormat,
73  GX2BufferingMode bufferingMode);
74 
75 void
76 GX2SetTVScale(uint32_t x,
77  uint32_t y);
78 
79 void
80 GX2SetDRCScale(uint32_t x,
81  uint32_t y);
82 
85 
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
GX2TVRenderMode
Definition: display.h:15
GX2DrcRenderMode GX2GetSystemDRCMode()
GX2BufferingMode
Definition: display.h:29
void GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
GX2DrcRenderMode
Definition: display.h:23
void GX2SetDRCBuffer(void *buffer, uint32_t size, GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
GX2TVScanMode
Definition: display.h:36
void GX2SetTVBuffer(void *buffer, uint32_t size, GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
void GX2SetTVScale(uint32_t x, uint32_t y)
void GX2SetDRCScale(uint32_t x, uint32_t y)
int BOOL
Definition: wut_types.h:4
void GX2SetTVEnable(BOOL enable)
GX2TVScanMode GX2GetSystemTVScanMode()
void GX2SetDRCEnable(BOOL enable)
void GX2CalcTVSize(GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
GX2SurfaceFormat
Definition: surface.h:26