wut  1.0.0-beta8
Wii U Toolchain
core.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "result.h"
4 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct AXProfile AXProfile;
17 typedef struct AXInitParams AXInitParams;
18 
19 typedef void(*AXFrameCallback)(void);
20 
22 typedef uint32_t AXInitRenderer;
23 
25 typedef uint32_t AXInitPipeline;
26 
28 {
31 };
32 
34 {
37 };
38 
39 struct AXProfile
40 {
41  // Unknown
42 };
43 
45 {
47  WUT_UNKNOWN_BYTES(4);
49 };
50 WUT_CHECK_OFFSET(AXInitParams, 0x00, renderer);
51 WUT_CHECK_OFFSET(AXInitParams, 0x08, pipeline);
52 WUT_CHECK_SIZE(AXInitParams, 0x0C);
53 
54 void
55 AXInit();
56 
57 void
58 AXQuit();
59 
60 void
62 
63 BOOL
64 AXIsInit();
65 
66 void
67 AXInitProfile(AXProfile *profile,
68  uint32_t count);
69 
70 uint32_t
72  uint32_t count);
73 
75 AXSetDefaultMixerSelect(uint32_t unk0);
76 
79 
82 
83 uint32_t
85 
86 uint32_t
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
void AXInit()
AX_INIT_RENDERER
Definition: core.h:27
void AXQuit()
uint32_t AXInitRenderer
A value from enum AX_INIT_RENDERER.
Definition: core.h:22
void(* AXFrameCallback)(void)
Definition: core.h:19
AXInitPipeline pipeline
Definition: core.h:48
AX_INIT_PIPELINE
Definition: core.h:33
AXResult AXSetDefaultMixerSelect(uint32_t unk0)
AXInitRenderer renderer
Definition: core.h:46
uint32_t AXInitPipeline
A value from enum AX_INIT_PIPELINE.
Definition: core.h:25
uint32_t AXGetSwapProfile(AXProfile *profile, uint32_t count)
AXResult AXRegisterAppFrameCallback(AXFrameCallback callback)
AXFrameCallback AXRegisterFrameCallback(AXFrameCallback callback)
uint32_t AXGetInputSamplesPerFrame()
BOOL AXIsInit()
int32_t AXResult
A value from enum AX_RESULT.
Definition: result.h:16
uint32_t AXGetInputSamplesPerSec()
void AXInitProfile(AXProfile *profile, uint32_t count)
int32_t BOOL
Definition: wut_types.h:4
void AXInitWithParams(AXInitParams *params)
Definition: core.h:39