Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DMatBlock.cpp File Reference

Functions

void loadMatColors (const J3DGXColor *color)
 
void loadAmbColors (const J3DGXColor *color)
 
void loadTexCoordScale (GXTexCoordID coord, const J3DTexCoordScaleInfo &info)
 
void loadTevColor (u32 reg, const J3DGXColorS10 &color)
 
void loadTevKColor (u32 reg, const J3DGXColor &color)
 
void loadZCompLoc (u8 compLoc)
 

Variables

static u32 SizeOfLoadMatColors = 0x0000000D
 
static u32 SizeOfLoadAmbColors = 0x0000000D
 
static u32 SizeOfLoadColorChans = 21
 
static u32 SizeOfJ3DColorBlockLightOffLoad = SizeOfLoadMatColors + SizeOfLoadColorChans
 
static u32 SizeOfJ3DColorBlockAmbientOnLoad = SizeOfLoadMatColors + SizeOfLoadAmbColors + SizeOfLoadColorChans
 

Function Documentation

◆ loadAmbColors()

void loadAmbColors ( const J3DGXColor color)
inline

◆ loadMatColors()

void loadMatColors ( const J3DGXColor color)
inline

◆ loadTevColor()

void loadTevColor ( u32  reg,
const J3DGXColorS10 color 
)
inline

◆ loadTevKColor()

void loadTevKColor ( u32  reg,
const J3DGXColor color 
)
inline

◆ loadTexCoordScale()

void loadTexCoordScale ( GXTexCoordID  coord,
const J3DTexCoordScaleInfo info 
)
inline

◆ loadZCompLoc()

void loadZCompLoc ( u8  compLoc)
inline

Variable Documentation

◆ SizeOfJ3DColorBlockAmbientOnLoad

u32 SizeOfJ3DColorBlockAmbientOnLoad = SizeOfLoadMatColors + SizeOfLoadAmbColors + SizeOfLoadColorChans
static

◆ SizeOfJ3DColorBlockLightOffLoad

u32 SizeOfJ3DColorBlockLightOffLoad = SizeOfLoadMatColors + SizeOfLoadColorChans
static

◆ SizeOfLoadAmbColors

u32 SizeOfLoadAmbColors = 0x0000000D
static

◆ SizeOfLoadColorChans

u32 SizeOfLoadColorChans = 21
static

◆ SizeOfLoadMatColors

u32 SizeOfLoadMatColors = 0x0000000D
static