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

#include <J3DMaterial.h>

+ Inheritance diagram for J3DMaterial:
+ Collaboration diagram for J3DMaterial:

Public Member Functions

void initialize ()
 
u32 countDLSize ()
 
void makeDisplayList_private (J3DDisplayListObj *)
 
void setCurrentMtx ()
 
void calcCurrentMtx ()
 
void copy (J3DMaterial *)
 
s32 newSharedDisplayList (u32)
 
s32 newSingleSharedDisplayList (u32)
 
virtual void calc (f32 const (*)[4])
 
virtual void calcDiffTexMtx (f32 const (*)[4])
 
virtual void makeDisplayList ()
 
virtual void makeSharedDisplayList ()
 
virtual void load ()
 
virtual void loadSharedDL ()
 
virtual void patch ()
 
virtual void diff (u32)
 
virtual void reset ()
 
virtual void change ()
 
 J3DMaterial ()
 
 ~J3DMaterial ()
 
J3DMaterialgetNext () const
 
J3DShapegetShape () const
 
J3DTevBlockgetTevBlock () const
 
J3DColorBlockgetColorBlock () const
 
J3DTexGenBlockgetTexGenBlock () const
 
J3DDisplayListObjgetSharedDisplayListObj () const
 
J3DIndBlockgetIndBlock () const
 
J3DShapegetShape ()
 
J3DJointgetJoint ()
 
J3DMaterialAnmgetMaterialAnm () const
 
J3DNBTScalegetNBTScale () const
 
u16 getTexNo (u32 idx) const
 
J3DGXColorgetTevKColor (u32 param_0)
 
J3DGXColorS10getTevColor (u32 param_0)
 
J3DFoggetFog ()
 
J3DTexMtxgetTexMtx (u32 idx)
 
u16 getIndex ()
 
bool isDrawModeOpaTexEdge ()
 
J3DPEBlockgetPEBlock ()
 
void onInvalid ()
 
u32 getTexGenNum () const
 
u8 getTevStageNum () const
 
J3DTexCoordgetTexCoord (u32 idx)
 
J3DZModegetZMode ()
 
J3DBlendgetBlend ()
 
void setTevColor (u32 i, const J3DGXColorS10 *i_color)
 
void setTevKColor (u32 i, const J3DGXColor *i_color)
 
void setMaterialAnm (J3DMaterialAnm *i_anm)
 
void setCullMode (u8 i_mode)
 
void setTexMtx (u32 idx, J3DTexMtx *mtx)
 
void setZCompLoc (u8 i_comploc)
 
void setMaterialMode (u32 i_mode)
 

Static Public Member Functions

static J3DColorBlockcreateColorBlock (u32)
 
static J3DTexGenBlockcreateTexGenBlock (u32)
 
static J3DTevBlockcreateTevBlock (int)
 
static J3DIndBlockcreateIndBlock (int)
 
static J3DPEBlockcreatePEBlock (u32, u32)
 
static u32 calcSizeColorBlock (u32)
 
static u32 calcSizeTexGenBlock (u32)
 
static u32 calcSizeTevBlock (int)
 
static u32 calcSizeIndBlock (int)
 
static u32 calcSizePEBlock (u32, u32)
 

Public Attributes

J3DMaterialmNext
 
J3DShapemShape
 
J3DJointmJoint
 
u32 mMaterialMode
 
u16 mIndex
 
u32 mInvalid
 
u32 field_0x1c
 
u32 mDiffFlag
 
J3DColorBlockmColorBlock
 
J3DTexGenBlockmTexGenBlock
 
J3DTevBlockmTevBlock
 
J3DIndBlockmIndBlock
 
J3DPEBlockmPEBlock
 
J3DMaterialmpOrigMaterial
 
J3DMaterialAnmmMaterialAnm
 
J3DCurrentMtx mCurrentMtx
 
J3DDisplayListObjmSharedDLObj
 

Constructor & Destructor Documentation

◆ J3DMaterial()

J3DMaterial::J3DMaterial ( )
inline

◆ ~J3DMaterial()

J3DMaterial::~J3DMaterial ( )
inline

Member Function Documentation

◆ calc()

void J3DMaterial::calc ( f32 const  param_0(*)[4])
virtual

Reimplemented in J3DLockedMaterial.

◆ calcCurrentMtx()

void J3DMaterial::calcCurrentMtx ( )

◆ calcDiffTexMtx()

void J3DMaterial::calcDiffTexMtx ( f32 const  param_0(*)[4])
virtual

◆ calcSizeColorBlock()

u32 J3DMaterial::calcSizeColorBlock ( u32  param_0)
static

◆ calcSizeIndBlock()

u32 J3DMaterial::calcSizeIndBlock ( int  param_0)
static

◆ calcSizePEBlock()

u32 J3DMaterial::calcSizePEBlock ( u32  param_0,
u32  param_1 
)
static

◆ calcSizeTevBlock()

u32 J3DMaterial::calcSizeTevBlock ( int  param_0)
static

◆ calcSizeTexGenBlock()

u32 J3DMaterial::calcSizeTexGenBlock ( u32  param_0)
static

◆ change()

void J3DMaterial::change ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ copy()

void J3DMaterial::copy ( J3DMaterial param_0)

◆ countDLSize()

u32 J3DMaterial::countDLSize ( )

◆ createColorBlock()

J3DColorBlock * J3DMaterial::createColorBlock ( u32  param_0)
static

◆ createIndBlock()

J3DIndBlock * J3DMaterial::createIndBlock ( int  param_0)
static

◆ createPEBlock()

J3DPEBlock * J3DMaterial::createPEBlock ( u32  createFlag,
u32  materialMode 
)
static

◆ createTevBlock()

J3DTevBlock * J3DMaterial::createTevBlock ( int  param_0)
static

◆ createTexGenBlock()

J3DTexGenBlock * J3DMaterial::createTexGenBlock ( u32  param_0)
static

◆ diff()

void J3DMaterial::diff ( u32  param_0)
virtual

Reimplemented in J3DLockedMaterial.

◆ getBlend()

J3DBlend * J3DMaterial::getBlend ( )
inline

◆ getColorBlock()

J3DColorBlock * J3DMaterial::getColorBlock ( ) const
inline

◆ getFog()

J3DFog * J3DMaterial::getFog ( )
inline

◆ getIndBlock()

J3DIndBlock * J3DMaterial::getIndBlock ( ) const
inline

◆ getIndex()

u16 J3DMaterial::getIndex ( )
inline

◆ getJoint()

J3DJoint * J3DMaterial::getJoint ( )
inline

◆ getMaterialAnm()

J3DMaterialAnm * J3DMaterial::getMaterialAnm ( ) const
inline

◆ getNBTScale()

J3DNBTScale * J3DMaterial::getNBTScale ( ) const
inline

◆ getNext()

J3DMaterial * J3DMaterial::getNext ( ) const
inline

◆ getPEBlock()

J3DPEBlock * J3DMaterial::getPEBlock ( )
inline

◆ getShape() [1/2]

J3DShape * J3DMaterial::getShape ( )
inline

◆ getShape() [2/2]

J3DShape * J3DMaterial::getShape ( ) const
inline

◆ getSharedDisplayListObj()

J3DDisplayListObj * J3DMaterial::getSharedDisplayListObj ( ) const
inline

◆ getTevBlock()

J3DTevBlock * J3DMaterial::getTevBlock ( ) const
inline

◆ getTevColor()

J3DGXColorS10 * J3DMaterial::getTevColor ( u32  param_0)
inline

◆ getTevKColor()

J3DGXColor * J3DMaterial::getTevKColor ( u32  param_0)
inline

◆ getTevStageNum()

u8 J3DMaterial::getTevStageNum ( ) const
inline

◆ getTexCoord()

J3DTexCoord * J3DMaterial::getTexCoord ( u32  idx)
inline

◆ getTexGenBlock()

J3DTexGenBlock * J3DMaterial::getTexGenBlock ( ) const
inline

◆ getTexGenNum()

u32 J3DMaterial::getTexGenNum ( ) const
inline

◆ getTexMtx()

J3DTexMtx * J3DMaterial::getTexMtx ( u32  idx)
inline

◆ getTexNo()

u16 J3DMaterial::getTexNo ( u32  idx) const
inline

◆ getZMode()

J3DZMode * J3DMaterial::getZMode ( )
inline

◆ initialize()

void J3DMaterial::initialize ( )

◆ isDrawModeOpaTexEdge()

bool J3DMaterial::isDrawModeOpaTexEdge ( )
inline

◆ load()

void J3DMaterial::load ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ loadSharedDL()

void J3DMaterial::loadSharedDL ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ makeDisplayList()

void J3DMaterial::makeDisplayList ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ makeDisplayList_private()

void J3DMaterial::makeDisplayList_private ( J3DDisplayListObj param_0)

◆ makeSharedDisplayList()

void J3DMaterial::makeSharedDisplayList ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ newSharedDisplayList()

s32 J3DMaterial::newSharedDisplayList ( u32  param_0)

◆ newSingleSharedDisplayList()

s32 J3DMaterial::newSingleSharedDisplayList ( u32  param_0)

◆ onInvalid()

void J3DMaterial::onInvalid ( )
inline

◆ patch()

void J3DMaterial::patch ( )
virtual

Reimplemented in J3DLockedMaterial.

◆ reset()

void J3DMaterial::reset ( )
virtual

Reimplemented in J3DPatchedMaterial, and J3DLockedMaterial.

◆ setCullMode()

void J3DMaterial::setCullMode ( u8  i_mode)
inline

◆ setCurrentMtx()

void J3DMaterial::setCurrentMtx ( )

◆ setMaterialAnm()

void J3DMaterial::setMaterialAnm ( J3DMaterialAnm i_anm)
inline

◆ setMaterialMode()

void J3DMaterial::setMaterialMode ( u32  i_mode)
inline

◆ setTevColor()

void J3DMaterial::setTevColor ( u32  i,
const J3DGXColorS10 i_color 
)
inline

◆ setTevKColor()

void J3DMaterial::setTevKColor ( u32  i,
const J3DGXColor i_color 
)
inline

◆ setTexMtx()

void J3DMaterial::setTexMtx ( u32  idx,
J3DTexMtx mtx 
)
inline

◆ setZCompLoc()

void J3DMaterial::setZCompLoc ( u8  i_comploc)
inline

Member Data Documentation

◆ field_0x1c

u32 J3DMaterial::field_0x1c

◆ mColorBlock

J3DColorBlock* J3DMaterial::mColorBlock

◆ mCurrentMtx

J3DCurrentMtx J3DMaterial::mCurrentMtx

◆ mDiffFlag

u32 J3DMaterial::mDiffFlag

◆ mIndBlock

J3DIndBlock* J3DMaterial::mIndBlock

◆ mIndex

u16 J3DMaterial::mIndex

◆ mInvalid

u32 J3DMaterial::mInvalid

◆ mJoint

J3DJoint* J3DMaterial::mJoint

◆ mMaterialAnm

J3DMaterialAnm* J3DMaterial::mMaterialAnm

◆ mMaterialMode

u32 J3DMaterial::mMaterialMode

◆ mNext

J3DMaterial* J3DMaterial::mNext

◆ mPEBlock

J3DPEBlock* J3DMaterial::mPEBlock

◆ mpOrigMaterial

J3DMaterial* J3DMaterial::mpOrigMaterial

◆ mShape

J3DShape* J3DMaterial::mShape

◆ mSharedDLObj

J3DDisplayListObj* J3DMaterial::mSharedDLObj

◆ mTevBlock

J3DTevBlock* J3DMaterial::mTevBlock

◆ mTexGenBlock

J3DTexGenBlock* J3DMaterial::mTexGenBlock

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