WUT  0.1
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 {
46  AXInitRenderer renderer;
47  UNKNOWN(4);
48  AXInitPipeline pipeline;
49 };
50 CHECK_OFFSET(AXInitParams, 0x00, renderer);
51 CHECK_OFFSET(AXInitParams, 0x08, pipeline);
52 CHECK_SIZE(AXInitParams, 0x0C);
53 
54 void
55 AXInit();
56 
57 void
59 
60 BOOL
61 AXIsInit();
62 
63 void
64 AXInitProfile(AXProfile *profile,
65  uint32_t count);
66 
67 uint32_t
69  uint32_t count);
70 
72 AXSetDefaultMixerSelect(uint32_t unk0);
73 
76 
77 uint32_t
79 
80 uint32_t
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 
void AXInit()
Definition: core.h:39
AX_INIT_RENDERER
Definition: core.h:27
AXInitPipeline pipeline
Definition: core.h:48
uint32_t AXInitRenderer
A value from enum AX_INIT_RENDERER.
Definition: core.h:22
void(* AXFrameCallback)(void)
Definition: core.h:19
AX_INIT_PIPELINE
Definition: core.h:33
AXResult AXSetDefaultMixerSelect(uint32_t unk0)
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)
AXInitRenderer renderer
Definition: core.h:46
uint32_t AXGetInputSamplesPerFrame()
BOOL AXIsInit()
int BOOL
Definition: wut_types.h:5
int32_t AXResult
A value from enum AX_RESULT.
Definition: result.h:16
uint32_t AXGetInputSamplesPerSec()
void AXInitProfile(AXProfile *profile, uint32_t count)
void AXInitWithParams(AXInitParams *params)