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

#include <J3DShape.h>

+ Collaboration diagram for J3DShape:

Public Types

enum  { kVcdVatDLSize = 0xC0 }
 

Public Member Functions

 J3DShape ()
 
void initialize ()
 
void addTexMtxIndexInDL (_GXAttr, u32)
 
void addTexMtxIndexInVcd (_GXAttr)
 
void calcNBTScale (Vec const &, f32(*)[3][3], f32(*)[3][3])
 
u32 countBumpMtxNum () const
 
void loadVtxArray () const
 
bool isSameVcdVatCmd (J3DShape *)
 
void makeVtxArrayCmd ()
 
void makeVcdVatCmd ()
 
void loadPreDrawSetting () const
 
void setArrayAndBindPipeline () const
 
virtual void draw () const
 
virtual void drawFast () const
 
virtual void simpleDraw () const
 
virtual void simpleDrawCache () const
 
void onFlag (u32 flag)
 
void offFlag (u32 flag)
 
bool checkFlag (u32 flag) const
 
void setDrawMtxDataPointer (J3DDrawMtxData *pMtxData)
 
void setVertexDataPointer (J3DVertexData *pVtxData)
 
voidgetVcdVatCmd () const
 
void setVcdVatCmd (void *pVatCmd)
 
void show ()
 
void hide ()
 
void setCurrentViewNoPtr (u32 *pViewNoPtr)
 
void setCurrentMtx (J3DCurrentMtx &mtx)
 
void setScaleFlagArray (u8 *pScaleFlagArray)
 
void setDrawMtx (Mtx **pDrawMtx)
 
void setNrmMtx (Mtx33 **pNrmMtx)
 
void setTexMtxLoadType (u32 type)
 
bool getNBTFlag () const
 
u32 getBumpMtxOffset () const
 
void setBumpMtxOffset (u32 offset)
 
GXVtxDescListgetVtxDesc () const
 
J3DMaterialgetMaterial () const
 
u32 getIndex () const
 
u32 getPipeline () const
 
u32 getTexMtxLoadType () const
 
u32 getMtxGroupNum () const
 
J3DShapeDrawgetShapeDraw (u32 idx) const
 
J3DShapeMtxgetShapeMtx (u32 idx) const
 
VecgetMin ()
 
VecgetMax ()
 

Static Public Member Functions

static void resetVcdVatCache ()
 

Static Public Attributes

static voidsOldVcdVatCmd
 

Private Attributes

J3DMaterialmMaterial
 
u16 mIndex
 
u16 mMtxGroupNum
 
u32 mFlags
 
f32 mRadius
 
Vec mMin
 
Vec mMax
 
u8mVcdVatCmd
 
GXVtxDescListmVtxDesc
 
bool mHasNBT
 
J3DShapeMtx ** mShapeMtx
 
J3DShapeDraw ** mShapeDraw
 
J3DCurrentMtx mCurrentMtx
 
bool mHasPNMTXIdx
 
J3DVertexDatamVertexData
 
J3DDrawMtxDatamDrawMtxData
 
u8mScaleFlagArray
 
Mtx ** mDrawMtx
 
Mtx33 ** mNrmMtx
 
u32mCurrentViewNo
 
u32 mBumpMtxOffset
 

Friends

struct J3DShapeFactory
 
class J3DJointTree
 

Member Enumeration Documentation

◆ anonymous enum

Enumerator
kVcdVatDLSize 

Constructor & Destructor Documentation

◆ J3DShape()

J3DShape::J3DShape ( )
inline

Member Function Documentation

◆ addTexMtxIndexInDL()

void J3DShape::addTexMtxIndexInDL ( _GXAttr  ,
u32   
)

◆ addTexMtxIndexInVcd()

void J3DShape::addTexMtxIndexInVcd ( _GXAttr  )

◆ calcNBTScale()

void J3DShape::calcNBTScale ( Vec const param_0,
f32(*)  param_1[3][3],
f32(*)  param_2[3][3] 
)

◆ checkFlag()

bool J3DShape::checkFlag ( u32  flag) const
inline

◆ countBumpMtxNum()

u32 J3DShape::countBumpMtxNum ( ) const

◆ draw()

void J3DShape::draw ( ) const
virtual

◆ drawFast()

void J3DShape::drawFast ( ) const
virtual

◆ getBumpMtxOffset()

u32 J3DShape::getBumpMtxOffset ( ) const
inline

◆ getIndex()

u32 J3DShape::getIndex ( ) const
inline

◆ getMaterial()

J3DMaterial * J3DShape::getMaterial ( ) const
inline

◆ getMax()

Vec * J3DShape::getMax ( )
inline

◆ getMin()

Vec * J3DShape::getMin ( )
inline

◆ getMtxGroupNum()

u32 J3DShape::getMtxGroupNum ( ) const
inline

◆ getNBTFlag()

bool J3DShape::getNBTFlag ( ) const
inline

◆ getPipeline()

u32 J3DShape::getPipeline ( ) const
inline

◆ getShapeDraw()

J3DShapeDraw * J3DShape::getShapeDraw ( u32  idx) const
inline

◆ getShapeMtx()

J3DShapeMtx * J3DShape::getShapeMtx ( u32  idx) const
inline

◆ getTexMtxLoadType()

u32 J3DShape::getTexMtxLoadType ( ) const
inline

◆ getVcdVatCmd()

void * J3DShape::getVcdVatCmd ( ) const
inline

◆ getVtxDesc()

GXVtxDescList * J3DShape::getVtxDesc ( ) const
inline

◆ hide()

void J3DShape::hide ( )
inline

◆ initialize()

void J3DShape::initialize ( )

◆ isSameVcdVatCmd()

bool J3DShape::isSameVcdVatCmd ( J3DShape other)

◆ loadPreDrawSetting()

void J3DShape::loadPreDrawSetting ( ) const

◆ loadVtxArray()

void J3DShape::loadVtxArray ( ) const

◆ makeVcdVatCmd()

void J3DShape::makeVcdVatCmd ( )

◆ makeVtxArrayCmd()

void J3DShape::makeVtxArrayCmd ( )

◆ offFlag()

void J3DShape::offFlag ( u32  flag)
inline

◆ onFlag()

void J3DShape::onFlag ( u32  flag)
inline

◆ resetVcdVatCache()

static void J3DShape::resetVcdVatCache ( )
inlinestatic

◆ setArrayAndBindPipeline()

void J3DShape::setArrayAndBindPipeline ( ) const

◆ setBumpMtxOffset()

void J3DShape::setBumpMtxOffset ( u32  offset)
inline

◆ setCurrentMtx()

void J3DShape::setCurrentMtx ( J3DCurrentMtx mtx)
inline

◆ setCurrentViewNoPtr()

void J3DShape::setCurrentViewNoPtr ( u32 pViewNoPtr)
inline

◆ setDrawMtx()

void J3DShape::setDrawMtx ( Mtx **  pDrawMtx)
inline

◆ setDrawMtxDataPointer()

void J3DShape::setDrawMtxDataPointer ( J3DDrawMtxData pMtxData)
inline

◆ setNrmMtx()

void J3DShape::setNrmMtx ( Mtx33 **  pNrmMtx)
inline

◆ setScaleFlagArray()

void J3DShape::setScaleFlagArray ( u8 pScaleFlagArray)
inline

◆ setTexMtxLoadType()

void J3DShape::setTexMtxLoadType ( u32  type)
inline

◆ setVcdVatCmd()

void J3DShape::setVcdVatCmd ( void pVatCmd)
inline

◆ setVertexDataPointer()

void J3DShape::setVertexDataPointer ( J3DVertexData pVtxData)
inline

◆ show()

void J3DShape::show ( )
inline

◆ simpleDraw()

void J3DShape::simpleDraw ( ) const
virtual

◆ simpleDrawCache()

void J3DShape::simpleDrawCache ( ) const
virtual

Friends And Related Symbol Documentation

◆ J3DJointTree

◆ J3DShapeFactory

Member Data Documentation

◆ mBumpMtxOffset

u32 J3DShape::mBumpMtxOffset
private

◆ mCurrentMtx

J3DCurrentMtx J3DShape::mCurrentMtx
private

◆ mCurrentViewNo

u32* J3DShape::mCurrentViewNo
private

◆ mDrawMtx

Mtx** J3DShape::mDrawMtx
private

◆ mDrawMtxData

J3DDrawMtxData* J3DShape::mDrawMtxData
private

◆ mFlags

u32 J3DShape::mFlags
private

◆ mHasNBT

bool J3DShape::mHasNBT
private

◆ mHasPNMTXIdx

bool J3DShape::mHasPNMTXIdx
private

◆ mIndex

u16 J3DShape::mIndex
private

◆ mMaterial

J3DMaterial* J3DShape::mMaterial
private

◆ mMax

Vec J3DShape::mMax
private

◆ mMin

Vec J3DShape::mMin
private

◆ mMtxGroupNum

u16 J3DShape::mMtxGroupNum
private

◆ mNrmMtx

Mtx33** J3DShape::mNrmMtx
private

◆ mRadius

f32 J3DShape::mRadius
private

◆ mScaleFlagArray

u8* J3DShape::mScaleFlagArray
private

◆ mShapeDraw

J3DShapeDraw** J3DShape::mShapeDraw
private

◆ mShapeMtx

J3DShapeMtx** J3DShape::mShapeMtx
private

◆ mVcdVatCmd

u8* J3DShape::mVcdVatCmd
private

◆ mVertexData

J3DVertexData* J3DShape::mVertexData
private

◆ mVtxDesc

GXVtxDescList* J3DShape::mVtxDesc
private

◆ sOldVcdVatCmd

void * J3DShape::sOldVcdVatCmd
static

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