Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DGD.h File Reference

Go to the source code of this file.

Functions

void J3DGDWrite_u8 (u8 param)
 
void J3DGDWrite_u16 (u16 param)
 
void J3DGDWrite_u32 (u32 param)
 
void J3DGDWrite_f32 (f32 param)
 
void J3DGDWriteBPCmd (u32 cmd)
 
void J3DFifoLoadBPCmd (u32 cmd)
 
void J3DGDWriteXFCmd (u16 addr, u32 cmd)
 
void J3DGDWriteXFCmdHdr (u16 addr, u8 len)
 
void J3DFifoWriteXFCmdHdr (u16 addr, u8 len)
 
void J3DGXCmd1f32ptr (f32 *value)
 
void J3DGXCmd1f32 (f32 value)
 
void J3DGDWriteCPCmd (u8 reg, u32 value)
 
void J3DGDSetGenMode (u8 texGenNum, u8 colorChanNum, u8 tevStageNum, u8 IndTexStageNum, GXCullMode cullMode)
 
void J3DGDSetGenMode_3Param (u8 texGenNum, u8 tevStageNum, u8 indTexStageNum)
 
void J3DGDSetLightAttn (GXLightID, f32, f32, f32, f32, f32, f32)
 
void J3DGDSetLightColor (GXLightID, GXColor)
 
void J3DGDSetLightPos (GXLightID, f32, f32, f32)
 
void J3DGDSetLightDir (GXLightID, f32, f32, f32)
 
void J3DGDSetVtxAttrFmtv (GXVtxFmt, GXVtxAttrFmtList const *, bool)
 
void J3DGDSetTexCoordGen (GXTexGenType, GXTexGenSrc)
 
void J3DGDSetTexCoordScale2 (GXTexCoordID, u16, u8, u8, u16, u8, u8)
 
void J3DGDSetTexLookupMode (GXTexMapID, GXTexWrapMode, GXTexWrapMode, GXTexFilter, GXTexFilter, f32, f32, f32, u8, u8, GXAnisotropy)
 
void J3DGDSetTexImgAttr (GXTexMapID, u16, u16, GXTexFmt)
 
void J3DGDSetTexImgPtr (GXTexMapID, void *)
 
void J3DGDSetTexImgPtrRaw (GXTexMapID, u32)
 
void J3DGDSetTexTlut (GXTexMapID, u32, _GXTlutFmt)
 
void J3DGDLoadTlut (void *, u32, _GXTlutSize)
 
void J3DGDSetIndTexMtx (GXIndTexMtxID, f32(*)[3], s8)
 
void J3DGDSetIndTexCoordScale (GXIndTexStageID, GXIndTexScale, GXIndTexScale, GXIndTexScale, GXIndTexScale)
 
void J3DGDSetIndTexOrder (u32, GXTexCoordID, GXTexMapID, GXTexCoordID, GXTexMapID, GXTexCoordID, GXTexMapID, GXTexCoordID, GXTexMapID)
 
void J3DGDSetTevOrder (GXTevStageID, GXTexCoordID, GXTexMapID, GXChannelID, GXTexCoordID, GXTexMapID, GXChannelID)
 
void J3DGDSetTevKColor (GXTevKColorID, GXColor)
 
void J3DGDSetTevColorS10 (GXTevRegID, GXColorS10)
 
void J3DGDSetFog (GXFogType, f32, f32, f32, f32, GXColor)
 
void J3DGDSetFogRangeAdj (u8, u16, _GXFogAdjTable *)
 
void J3DFifoLoadPosMtxImm (f32(*)[4], u32)
 
void J3DFifoLoadNrmMtxImm (f32(*)[4], u32)
 
void J3DFifoLoadNrmMtxImm3x3 (f32(*)[3], u32)
 
void J3DFifoLoadNrmMtxToTexMtx (f32(*)[4], u32)
 
void J3DFifoLoadNrmMtxToTexMtx3x3 (f32(*)[3], u32)
 
void J3DFifoLoadTexCached (GXTexMapID, u32, GXTexCacheSize, u32, GXTexCacheSize)
 
static void J3DFifoLoadIndx (u8 cmd, u16 indx, u16 addr)
 
void J3DGDSetNumChans (u8 numChans)
 
void J3DGDSetNumTexGens (u8 numTexGens)
 
void J3DGDSetTevKonstantSel_SwapModeTable (GXTevStageID stage, GXTevKColorSel colorSel1, GXTevKAlphaSel alphaSel1, GXTevKColorSel colorSel2, GXTevKAlphaSel alphaSel2, GXTevColor chan1, GXTevColor chan2)
 
void J3DGDSetAlphaCompare (GXCompare cmp0, u8 ref0, GXAlphaOp op, GXCompare cmp1, u8 ref1)
 
void J3DGDSetBlendMode (GXBlendMode mode, GXBlendFactor srcFactor, GXBlendFactor dstFactor, GXLogicOp logicOp)
 
void J3DGDSetBlendMode (GXBlendMode mode, GXBlendFactor srcFactor, GXBlendFactor dstFactor, GXLogicOp logicOp, u8 ditherEnable)
 
void J3DGDSetZMode (u8 compareEnable, GXCompare func, u8 writeEnable)
 
void J3DGDSetZCompLoc (u32 compLocEnable)
 

Function Documentation

◆ J3DFifoLoadBPCmd()

void J3DFifoLoadBPCmd ( u32  cmd)
inline

◆ J3DFifoLoadIndx()

static void J3DFifoLoadIndx ( u8  cmd,
u16  indx,
u16  addr 
)
inlinestatic

◆ J3DFifoLoadNrmMtxImm()

void J3DFifoLoadNrmMtxImm ( f32(*)  [4],
u32   
)

◆ J3DFifoLoadNrmMtxImm3x3()

void J3DFifoLoadNrmMtxImm3x3 ( f32(*)  [3],
u32   
)

◆ J3DFifoLoadNrmMtxToTexMtx()

void J3DFifoLoadNrmMtxToTexMtx ( f32(*)  [4],
u32   
)

◆ J3DFifoLoadNrmMtxToTexMtx3x3()

void J3DFifoLoadNrmMtxToTexMtx3x3 ( f32(*)  [3],
u32   
)

◆ J3DFifoLoadPosMtxImm()

void J3DFifoLoadPosMtxImm ( f32(*)  [4],
u32   
)

◆ J3DFifoLoadTexCached()

void J3DFifoLoadTexCached ( GXTexMapID  id,
u32  param_1,
GXTexCacheSize  param_2,
u32  param_3,
GXTexCacheSize  param_4 
)

◆ J3DFifoWriteXFCmdHdr()

void J3DFifoWriteXFCmdHdr ( u16  addr,
u8  len 
)
inline

◆ J3DGDLoadTlut()

void J3DGDLoadTlut ( void ,
u32  ,
_GXTlutSize   
)

◆ J3DGDSetAlphaCompare()

void J3DGDSetAlphaCompare ( GXCompare  cmp0,
u8  ref0,
GXAlphaOp  op,
GXCompare  cmp1,
u8  ref1 
)
inline

◆ J3DGDSetBlendMode() [1/2]

void J3DGDSetBlendMode ( GXBlendMode  mode,
GXBlendFactor  srcFactor,
GXBlendFactor  dstFactor,
GXLogicOp  logicOp 
)
inline

◆ J3DGDSetBlendMode() [2/2]

void J3DGDSetBlendMode ( GXBlendMode  mode,
GXBlendFactor  srcFactor,
GXBlendFactor  dstFactor,
GXLogicOp  logicOp,
u8  ditherEnable 
)
inline

◆ J3DGDSetFog()

void J3DGDSetFog ( GXFogType  fogType,
f32  param_1,
f32  param_2,
f32  nearZ,
f32  farZ,
GXColor  color 
)

◆ J3DGDSetFogRangeAdj()

void J3DGDSetFogRangeAdj ( u8  param_0,
u16  param_1,
_GXFogAdjTable table 
)

◆ J3DGDSetGenMode()

void J3DGDSetGenMode ( u8  texGenNum,
u8  colorChanNum,
u8  tevStageNum,
u8  IndTexStageNum,
GXCullMode  cullMode 
)

◆ J3DGDSetGenMode_3Param()

void J3DGDSetGenMode_3Param ( u8  texGenNum,
u8  tevStageNum,
u8  indTexStageNum 
)

◆ J3DGDSetIndTexCoordScale()

void J3DGDSetIndTexCoordScale ( GXIndTexStageID  stage,
GXIndTexScale  scale0,
GXIndTexScale  scale1,
GXIndTexScale  scale2,
GXIndTexScale  scale3 
)

◆ J3DGDSetIndTexMtx()

void J3DGDSetIndTexMtx ( GXIndTexMtxID  ,
f32(*)  [3],
s8   
)

◆ J3DGDSetIndTexOrder()

void J3DGDSetIndTexOrder ( u32  count,
GXTexCoordID  coord0,
GXTexMapID  map0,
GXTexCoordID  coord1,
GXTexMapID  map1,
GXTexCoordID  coord2,
GXTexMapID  map2,
GXTexCoordID  coord3,
GXTexMapID  map3 
)

◆ J3DGDSetLightAttn()

void J3DGDSetLightAttn ( GXLightID  id,
f32  a0,
f32  a1,
f32  a2,
f32  k0,
f32  k1,
f32  k2 
)

◆ J3DGDSetLightColor()

void J3DGDSetLightColor ( GXLightID  id,
GXColor  color 
)

◆ J3DGDSetLightDir()

void J3DGDSetLightDir ( GXLightID  id,
f32  x,
f32  y,
f32  z 
)

◆ J3DGDSetLightPos()

void J3DGDSetLightPos ( GXLightID  id,
f32  x,
f32  y,
f32  z 
)

◆ J3DGDSetNumChans()

void J3DGDSetNumChans ( u8  numChans)
inline

◆ J3DGDSetNumTexGens()

void J3DGDSetNumTexGens ( u8  numTexGens)
inline

◆ J3DGDSetTevColorS10()

void J3DGDSetTevColorS10 ( GXTevRegID  id,
GXColorS10  color 
)

◆ J3DGDSetTevKColor()

void J3DGDSetTevKColor ( GXTevKColorID  id,
GXColor  color 
)

◆ J3DGDSetTevKonstantSel_SwapModeTable()

void J3DGDSetTevKonstantSel_SwapModeTable ( GXTevStageID  stage,
GXTevKColorSel  colorSel1,
GXTevKAlphaSel  alphaSel1,
GXTevKColorSel  colorSel2,
GXTevKAlphaSel  alphaSel2,
GXTevColor  chan1,
GXTevColor  chan2 
)
inline

◆ J3DGDSetTevOrder()

void J3DGDSetTevOrder ( GXTevStageID  stage,
GXTexCoordID  coord0,
GXTexMapID  map0,
GXChannelID  channel0,
GXTexCoordID  coord1,
GXTexMapID  map1,
GXChannelID  channel1 
)

◆ J3DGDSetTexCoordGen()

void J3DGDSetTexCoordGen ( GXTexGenType  texGenType,
GXTexGenSrc  texGenSrc 
)

◆ J3DGDSetTexCoordScale2()

void J3DGDSetTexCoordScale2 ( GXTexCoordID  param_0,
u16  param_1,
u8  param_2,
u8  param_3,
u16  param_4,
u8  param_5,
u8  param_6 
)

◆ J3DGDSetTexImgAttr()

void J3DGDSetTexImgAttr ( GXTexMapID  param_0,
u16  param_1,
u16  param_2,
GXTexFmt  param_3 
)

◆ J3DGDSetTexImgPtr()

void J3DGDSetTexImgPtr ( GXTexMapID  param_0,
void param_1 
)

◆ J3DGDSetTexImgPtrRaw()

void J3DGDSetTexImgPtrRaw ( GXTexMapID  param_0,
u32  param_1 
)

◆ J3DGDSetTexLookupMode()

void J3DGDSetTexLookupMode ( GXTexMapID  param_0,
GXTexWrapMode  param_1,
GXTexWrapMode  param_2,
GXTexFilter  param_3,
GXTexFilter  param_4,
f32  param_5,
f32  param_6,
f32  param_7,
u8  param_8,
u8  param_9,
GXAnisotropy  param_10 
)

◆ J3DGDSetTexTlut()

void J3DGDSetTexTlut ( GXTexMapID  ,
u32  ,
_GXTlutFmt   
)

◆ J3DGDSetVtxAttrFmtv()

void J3DGDSetVtxAttrFmtv ( GXVtxFmt  fmt,
GXVtxAttrFmtList const fmtList,
bool  param_2 
)

◆ J3DGDSetZCompLoc()

void J3DGDSetZCompLoc ( u32  compLocEnable)
inline

◆ J3DGDSetZMode()

void J3DGDSetZMode ( u8  compareEnable,
GXCompare  func,
u8  writeEnable 
)
inline

◆ J3DGDWrite_f32()

void J3DGDWrite_f32 ( f32  param)
inline

◆ J3DGDWrite_u16()

void J3DGDWrite_u16 ( u16  param)
inline

◆ J3DGDWrite_u32()

void J3DGDWrite_u32 ( u32  param)
inline

◆ J3DGDWrite_u8()

void J3DGDWrite_u8 ( u8  param)
inline

◆ J3DGDWriteBPCmd()

void J3DGDWriteBPCmd ( u32  cmd)
inline

◆ J3DGDWriteCPCmd()

void J3DGDWriteCPCmd ( u8  reg,
u32  value 
)
inline

◆ J3DGDWriteXFCmd()

void J3DGDWriteXFCmd ( u16  addr,
u32  cmd 
)
inline

◆ J3DGDWriteXFCmdHdr()

void J3DGDWriteXFCmdHdr ( u16  addr,
u8  len 
)
inline

◆ J3DGXCmd1f32()

void J3DGXCmd1f32 ( f32  value)
inline

◆ J3DGXCmd1f32ptr()

void J3DGXCmd1f32ptr ( f32 value)
inline