Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DMaterialFactory_v21 Class Reference

#include <J3DMaterialFactory_v21.h>

+ Collaboration diagram for J3DMaterialFactory_v21:

Public Member Functions

 J3DMaterialFactory_v21 (J3DMaterialBlock_v21 const &)
 
u16 countUniqueMaterials ()
 
u32 countTexGens (int) const
 
u32 countStages (int) const
 
J3DMaterialcreate (J3DMaterial *, int, u32) const
 
J3DGXColor newMatColor (int, int) const
 
u8 newColorChanNum (int) const
 
J3DColorChan newColorChan (int, int) const
 
u32 newTexGenNum (int) const
 
J3DTexCoord newTexCoord (int, int) const
 
J3DTexMtxnewTexMtx (int, int) const
 
u8 newCullMode (int) const
 
u16 newTexNo (int, int) const
 
J3DTevOrder newTevOrder (int, int) const
 
J3DGXColorS10 newTevColor (int, int) const
 
J3DGXColor newTevKColor (int, int) const
 
u8 newTevStageNum (int) const
 
J3DTevStage newTevStage (int, int) const
 
J3DTevSwapModeTable newTevSwapModeTable (int, int) const
 
J3DFog newFog (int) const
 
J3DAlphaComp newAlphaComp (int) const
 
J3DBlend newBlend (int) const
 
J3DZMode newZMode (int) const
 
u8 newZCompLoc (int) const
 
u8 newDither (int) const
 
J3DNBTScale newNBTScale (int) const
 
u16 getMaterialID (u16 idx)
 
u8 getMaterialMode (int idx) const
 

Static Public Member Functions

static int getMdlDataFlag_TevStageNum (u32 flags)
 
static int getMdlDataFlag_TexGenFlag (u32 flags)
 
static u32 getMdlDataFlag_ColorFlag (u32 flags)
 
static u32 getMdlDataFlag_PEFlag (u32 flags)
 

Public Attributes

u16 mMaterialNum
 
J3DMaterialInitData_v21mpMaterialInitData
 
u16mpMaterialID
 
GXColormpMatColor
 
u8mpColorChanNum
 
J3DColorChanInfompColorChanInfo
 
u8mpTexGenNum
 
J3DTexCoordInfompTexCoordInfo
 
J3DTexCoord2InfompTexCoord2Info
 
J3DTexMtxInfompTexMtxInfo
 
J3DTexMtxInfofield_0x28
 
u16mpTexNo
 
GXCullModempCullMode
 
J3DTevOrderInfompTevOrderInfo
 
GXColorS10mpTevColor
 
GXColormpTevKColor
 
u8mpTevStageNum
 
J3DTevStageInfompTevStageInfo
 
J3DTevSwapModeInfompTevSwapModeInfo
 
J3DTevSwapModeTableInfompTevSwapModeTableInfo
 
J3DFogInfompFogInfo
 
J3DAlphaCompInfompAlphaCompInfo
 
J3DBlendInfompBlendInfo
 
J3DZModeInfompZModeInfo
 
u8mpZCompLoc
 
u8mpDither
 
J3DNBTScaleInfompNBTScaleInfo
 
u16 field_0x6c
 
u8 field_0x6e
 
u8 field_0x6f
 

Constructor & Destructor Documentation

◆ J3DMaterialFactory_v21()

J3DMaterialFactory_v21::J3DMaterialFactory_v21 ( J3DMaterialBlock_v21 const i_block)

Member Function Documentation

◆ countStages()

u32 J3DMaterialFactory_v21::countStages ( int  i_idx) const

◆ countTexGens()

u32 J3DMaterialFactory_v21::countTexGens ( int  i_idx) const

◆ countUniqueMaterials()

u16 J3DMaterialFactory_v21::countUniqueMaterials ( )

◆ create()

J3DMaterial * J3DMaterialFactory_v21::create ( J3DMaterial i_material,
int  i_idx,
u32  i_flags 
) const

◆ getMaterialID()

u16 J3DMaterialFactory_v21::getMaterialID ( u16  idx)
inline

◆ getMaterialMode()

u8 J3DMaterialFactory_v21::getMaterialMode ( int  idx) const
inline

◆ getMdlDataFlag_ColorFlag()

static u32 J3DMaterialFactory_v21::getMdlDataFlag_ColorFlag ( u32  flags)
inlinestatic

◆ getMdlDataFlag_PEFlag()

static u32 J3DMaterialFactory_v21::getMdlDataFlag_PEFlag ( u32  flags)
inlinestatic

◆ getMdlDataFlag_TevStageNum()

static int J3DMaterialFactory_v21::getMdlDataFlag_TevStageNum ( u32  flags)
inlinestatic

◆ getMdlDataFlag_TexGenFlag()

static int J3DMaterialFactory_v21::getMdlDataFlag_TexGenFlag ( u32  flags)
inlinestatic

◆ newAlphaComp()

J3DAlphaComp J3DMaterialFactory_v21::newAlphaComp ( int  i_idx) const

◆ newBlend()

J3DBlend J3DMaterialFactory_v21::newBlend ( int  i_idx) const

◆ newColorChan()

J3DColorChan J3DMaterialFactory_v21::newColorChan ( int  i_idx,
int  i_no 
) const

◆ newColorChanNum()

u8 J3DMaterialFactory_v21::newColorChanNum ( int  i_idx) const

◆ newCullMode()

u8 J3DMaterialFactory_v21::newCullMode ( int  i_idx) const

◆ newDither()

u8 J3DMaterialFactory_v21::newDither ( int  i_idx) const

◆ newFog()

J3DFog J3DMaterialFactory_v21::newFog ( int  i_idx) const

◆ newMatColor()

J3DGXColor J3DMaterialFactory_v21::newMatColor ( int  i_idx,
int  i_no 
) const

◆ newNBTScale()

J3DNBTScale J3DMaterialFactory_v21::newNBTScale ( int  i_idx) const

◆ newTevColor()

J3DGXColorS10 J3DMaterialFactory_v21::newTevColor ( int  i_idx,
int  i_no 
) const

◆ newTevKColor()

J3DGXColor J3DMaterialFactory_v21::newTevKColor ( int  i_idx,
int  param_1 
) const

◆ newTevOrder()

J3DTevOrder J3DMaterialFactory_v21::newTevOrder ( int  i_idx,
int  i_no 
) const

◆ newTevStage()

J3DTevStage J3DMaterialFactory_v21::newTevStage ( int  i_idx,
int  i_no 
) const

◆ newTevStageNum()

u8 J3DMaterialFactory_v21::newTevStageNum ( int  i_idx) const

◆ newTevSwapModeTable()

J3DTevSwapModeTable J3DMaterialFactory_v21::newTevSwapModeTable ( int  i_idx,
int  param_1 
) const

◆ newTexCoord()

J3DTexCoord J3DMaterialFactory_v21::newTexCoord ( int  i_idx,
int  i_no 
) const

◆ newTexGenNum()

u32 J3DMaterialFactory_v21::newTexGenNum ( int  i_idx) const

◆ newTexMtx()

J3DTexMtx * J3DMaterialFactory_v21::newTexMtx ( int  i_idx,
int  i_no 
) const

◆ newTexNo()

u16 J3DMaterialFactory_v21::newTexNo ( int  i_idx,
int  i_no 
) const

◆ newZCompLoc()

u8 J3DMaterialFactory_v21::newZCompLoc ( int  i_idx) const

◆ newZMode()

J3DZMode J3DMaterialFactory_v21::newZMode ( int  i_idx) const

Member Data Documentation

◆ field_0x28

J3DTexMtxInfo* J3DMaterialFactory_v21::field_0x28

◆ field_0x6c

u16 J3DMaterialFactory_v21::field_0x6c

◆ field_0x6e

u8 J3DMaterialFactory_v21::field_0x6e

◆ field_0x6f

u8 J3DMaterialFactory_v21::field_0x6f

◆ mMaterialNum

u16 J3DMaterialFactory_v21::mMaterialNum

◆ mpAlphaCompInfo

J3DAlphaCompInfo* J3DMaterialFactory_v21::mpAlphaCompInfo

◆ mpBlendInfo

J3DBlendInfo* J3DMaterialFactory_v21::mpBlendInfo

◆ mpColorChanInfo

J3DColorChanInfo* J3DMaterialFactory_v21::mpColorChanInfo

◆ mpColorChanNum

u8* J3DMaterialFactory_v21::mpColorChanNum

◆ mpCullMode

GXCullMode* J3DMaterialFactory_v21::mpCullMode

◆ mpDither

u8* J3DMaterialFactory_v21::mpDither

◆ mpFogInfo

J3DFogInfo* J3DMaterialFactory_v21::mpFogInfo

◆ mpMatColor

GXColor* J3DMaterialFactory_v21::mpMatColor

◆ mpMaterialID

u16* J3DMaterialFactory_v21::mpMaterialID

◆ mpMaterialInitData

J3DMaterialInitData_v21* J3DMaterialFactory_v21::mpMaterialInitData

◆ mpNBTScaleInfo

J3DNBTScaleInfo* J3DMaterialFactory_v21::mpNBTScaleInfo

◆ mpTevColor

GXColorS10* J3DMaterialFactory_v21::mpTevColor

◆ mpTevKColor

GXColor* J3DMaterialFactory_v21::mpTevKColor

◆ mpTevOrderInfo

J3DTevOrderInfo* J3DMaterialFactory_v21::mpTevOrderInfo

◆ mpTevStageInfo

J3DTevStageInfo* J3DMaterialFactory_v21::mpTevStageInfo

◆ mpTevStageNum

u8* J3DMaterialFactory_v21::mpTevStageNum

◆ mpTevSwapModeInfo

J3DTevSwapModeInfo* J3DMaterialFactory_v21::mpTevSwapModeInfo

◆ mpTevSwapModeTableInfo

J3DTevSwapModeTableInfo* J3DMaterialFactory_v21::mpTevSwapModeTableInfo

◆ mpTexCoord2Info

J3DTexCoord2Info* J3DMaterialFactory_v21::mpTexCoord2Info

◆ mpTexCoordInfo

J3DTexCoordInfo* J3DMaterialFactory_v21::mpTexCoordInfo

◆ mpTexGenNum

u8* J3DMaterialFactory_v21::mpTexGenNum

◆ mpTexMtxInfo

J3DTexMtxInfo* J3DMaterialFactory_v21::mpTexMtxInfo

◆ mpTexNo

u16* J3DMaterialFactory_v21::mpTexNo

◆ mpZCompLoc

u8* J3DMaterialFactory_v21::mpZCompLoc

◆ mpZModeInfo

J3DZModeInfo* J3DMaterialFactory_v21::mpZModeInfo

The documentation for this class was generated from the following files: