wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
Context State
Collaboration diagram for Context State:

Data Structures

struct  GX2ShadowState
 
struct  GX2ContextState
 

Typedefs

typedef struct GX2ShadowState GX2ShadowState
 
typedef struct GX2ContextState GX2ContextState
 

Functions

void GX2SetupContextStateEx (GX2ContextState *state, BOOL unk1)
 
void GX2GetContextStateDisplayList (const GX2ContextState *state, void *outDisplayList, uint32_t *outSize)
 
void GX2SetContextState (GX2ContextState *state)
 
void GX2SetDefaultState ()
 

Detailed Description


Data Structure Documentation

◆ GX2ShadowState

struct GX2ShadowState

Definition at line 17 of file context.h.

Data Fields
uint32_t config[0xB00]
uint32_t context[0x400]
uint32_t alu[0x800]
uint32_t loop[0x60]
uint32_t resource[0xD9E]
uint32_t sampler[0xA2]

◆ GX2ContextState

struct GX2ContextState

Definition at line 37 of file context.h.

Data Fields
GX2ShadowState shadowState
uint32_t shadowDisplayListSize
uint32_t shadowDisplayList[192]

Typedef Documentation

◆ GX2ShadowState

Definition at line 1 of file context.h.

◆ GX2ContextState

Definition at line 1 of file context.h.

Function Documentation

◆ GX2SetupContextStateEx()

void GX2SetupContextStateEx ( GX2ContextState state,
BOOL  unk1 
)

◆ GX2GetContextStateDisplayList()

void GX2GetContextStateDisplayList ( const GX2ContextState state,
void *  outDisplayList,
uint32_t *  outSize 
)

◆ GX2SetContextState()

void GX2SetContextState ( GX2ContextState state)

◆ GX2SetDefaultState()

void GX2SetDefaultState ( )