Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DSys Struct Reference

#include <J3DSys.h>

+ Collaboration diagram for J3DSys:

Public Types

enum  DrawMode { OPA_TEX_EDGE = 3 , XLU }
 

Public Member Functions

 J3DSys ()
 
void loadPosMtxIndx (int, u16) const
 
void loadNrmMtxIndx (int, u16) const
 
void setTexCacheRegion (_GXTexCacheSize)
 
void drawInit ()
 
void reinitGX ()
 
void reinitGenMode ()
 
void reinitLighting ()
 
void reinitTransform ()
 
void reinitTexture ()
 
void reinitTevStages ()
 
void reinitIndStages ()
 
void reinitPixelProc ()
 
MtxP getViewMtx ()
 
void setDrawModeOpaTexEdge ()
 
void setDrawModeXlu ()
 
voidgetVtxPos () const
 
void setVtxPos (void *pVtxPos)
 
voidgetVtxNrm () const
 
void setVtxNrm (void *pVtxNrm)
 
voidgetVtxCol () const
 
void setVtxCol (_GXColor *pVtxCol)
 
void setModel (J3DModel *pModel)
 
void setShapePacket (J3DShapePacket *pPacket)
 
void setMatPacket (J3DMatPacket *pPacket)
 
J3DMatPacketgetMatPacket ()
 
void setMaterialMode (u32 mode)
 
void setCurrentMtxCalc (J3DMtxCalc *pCalc)
 
J3DMtxCalcgetCurrentMtxCalc () const
 
void setTexture (J3DTexture *pTex)
 
J3DTexturegetTexture ()
 
void setNBTScale (Vec *scale)
 
VecgetNBTScale ()
 
void onFlag (u32 flag)
 
void offFlag (u32 flag)
 
bool checkFlag (u32 flag)
 
void setModelDrawMtx (Mtx *pMtxArr)
 
void setModelNrmMtx (Mtx33 *pMtxArr)
 
void setDrawBuffer (J3DDrawBuffer *buffer, int type)
 
J3DDrawBuffergetDrawBuffer (int type)
 
MtxgetModelDrawMtx (u16 no) const
 
J3DShapePacketgetShapePacket () const
 
void setViewMtx (Mtx m)
 
J3DModelgetModel ()
 

Public Attributes

Mtx mViewMtx
 
J3DMtxCalcmCurrentMtxCalc
 
u32 mFlags
 
J3DModelmModel
 
J3DMatPacketmMatPacket
 
J3DShapePacketmShapePacket
 
J3DShapemShape
 
J3DDrawBuffermDrawBuffer [2]
 
u32 mDrawMode
 
u32 mMaterialMode
 
J3DTexturemTexture
 
u8 field_0x5c [0x04]
 
u32 mTexCacheRegionNum
 
GXTexRegion mTexCacheRegion [8]
 
u8 field_0xe4 [0x20]
 
MtxmModelDrawMtx
 
Mtx33mModelNrmMtx
 
voidmVtxPos
 
voidmVtxNrm
 
_GXColormVtxCol
 
VecmNBTScale
 

Static Public Attributes

static u8 mCurrentMtx [48]
 
static Mtx mCurrentMtx
 
static Vec mCurrentS
 
static Vec mParentS
 
static J3DTexCoordScaleInfo sTexCoordScaleTable [8]
 

Member Enumeration Documentation

◆ DrawMode

Enumerator
OPA_TEX_EDGE 
XLU 

Constructor & Destructor Documentation

◆ J3DSys()

J3DSys::J3DSys ( )

Member Function Documentation

◆ checkFlag()

bool J3DSys::checkFlag ( u32  flag)
inline

◆ drawInit()

void J3DSys::drawInit ( )

◆ getCurrentMtxCalc()

J3DMtxCalc * J3DSys::getCurrentMtxCalc ( ) const
inline

◆ getDrawBuffer()

J3DDrawBuffer * J3DSys::getDrawBuffer ( int  type)
inline

◆ getMatPacket()

J3DMatPacket * J3DSys::getMatPacket ( )
inline

◆ getModel()

J3DModel * J3DSys::getModel ( )
inline

◆ getModelDrawMtx()

Mtx & J3DSys::getModelDrawMtx ( u16  no) const
inline

◆ getNBTScale()

Vec * J3DSys::getNBTScale ( )
inline

◆ getShapePacket()

J3DShapePacket * J3DSys::getShapePacket ( ) const
inline

◆ getTexture()

J3DTexture * J3DSys::getTexture ( )
inline

◆ getViewMtx()

MtxP J3DSys::getViewMtx ( )
inline

◆ getVtxCol()

void * J3DSys::getVtxCol ( ) const
inline

◆ getVtxNrm()

void * J3DSys::getVtxNrm ( ) const
inline

◆ getVtxPos()

void * J3DSys::getVtxPos ( ) const
inline

◆ loadNrmMtxIndx()

void J3DSys::loadNrmMtxIndx ( int  addr,
u16  indx 
) const

◆ loadPosMtxIndx()

void J3DSys::loadPosMtxIndx ( int  addr,
u16  indx 
) const

◆ offFlag()

void J3DSys::offFlag ( u32  flag)
inline

◆ onFlag()

void J3DSys::onFlag ( u32  flag)
inline

◆ reinitGenMode()

void J3DSys::reinitGenMode ( )

◆ reinitGX()

void J3DSys::reinitGX ( )

◆ reinitIndStages()

void J3DSys::reinitIndStages ( )

◆ reinitLighting()

void J3DSys::reinitLighting ( )

◆ reinitPixelProc()

void J3DSys::reinitPixelProc ( )

◆ reinitTevStages()

void J3DSys::reinitTevStages ( )

◆ reinitTexture()

void J3DSys::reinitTexture ( )

◆ reinitTransform()

void J3DSys::reinitTransform ( )

◆ setCurrentMtxCalc()

void J3DSys::setCurrentMtxCalc ( J3DMtxCalc pCalc)
inline

◆ setDrawBuffer()

void J3DSys::setDrawBuffer ( J3DDrawBuffer buffer,
int  type 
)
inline

◆ setDrawModeOpaTexEdge()

void J3DSys::setDrawModeOpaTexEdge ( )
inline

◆ setDrawModeXlu()

void J3DSys::setDrawModeXlu ( )
inline

◆ setMaterialMode()

void J3DSys::setMaterialMode ( u32  mode)
inline

◆ setMatPacket()

void J3DSys::setMatPacket ( J3DMatPacket pPacket)
inline

◆ setModel()

void J3DSys::setModel ( J3DModel pModel)
inline

◆ setModelDrawMtx()

void J3DSys::setModelDrawMtx ( Mtx pMtxArr)
inline

◆ setModelNrmMtx()

void J3DSys::setModelNrmMtx ( Mtx33 pMtxArr)
inline

◆ setNBTScale()

void J3DSys::setNBTScale ( Vec scale)
inline

◆ setShapePacket()

void J3DSys::setShapePacket ( J3DShapePacket pPacket)
inline

◆ setTexCacheRegion()

void J3DSys::setTexCacheRegion ( _GXTexCacheSize  )

◆ setTexture()

void J3DSys::setTexture ( J3DTexture pTex)
inline

◆ setViewMtx()

void J3DSys::setViewMtx ( Mtx  m)
inline

◆ setVtxCol()

void J3DSys::setVtxCol ( _GXColor pVtxCol)
inline

◆ setVtxNrm()

void J3DSys::setVtxNrm ( void pVtxNrm)
inline

◆ setVtxPos()

void J3DSys::setVtxPos ( void pVtxPos)
inline

Member Data Documentation

◆ field_0x5c

u8 J3DSys::field_0x5c[0x04]

◆ field_0xe4

u8 J3DSys::field_0xe4[0x20]

◆ mCurrentMtx [1/2]

Mtx J3DSys::mCurrentMtx
static

◆ mCurrentMtx [2/2]

Mtx J3DSys::mCurrentMtx
static

◆ mCurrentMtxCalc

J3DMtxCalc* J3DSys::mCurrentMtxCalc

◆ mCurrentS

Vec J3DSys::mCurrentS
static

◆ mDrawBuffer

J3DDrawBuffer* J3DSys::mDrawBuffer[2]

◆ mDrawMode

u32 J3DSys::mDrawMode

◆ mFlags

u32 J3DSys::mFlags

◆ mMaterialMode

u32 J3DSys::mMaterialMode

◆ mMatPacket

J3DMatPacket* J3DSys::mMatPacket

◆ mModel

J3DModel* J3DSys::mModel

◆ mModelDrawMtx

Mtx* J3DSys::mModelDrawMtx

◆ mModelNrmMtx

Mtx33* J3DSys::mModelNrmMtx

◆ mNBTScale

Vec* J3DSys::mNBTScale

◆ mParentS

Vec J3DSys::mParentS
static

◆ mShape

J3DShape* J3DSys::mShape

◆ mShapePacket

J3DShapePacket* J3DSys::mShapePacket

◆ mTexCacheRegion

GXTexRegion J3DSys::mTexCacheRegion[8]

◆ mTexCacheRegionNum

u32 J3DSys::mTexCacheRegionNum

◆ mTexture

J3DTexture* J3DSys::mTexture

◆ mViewMtx

Mtx J3DSys::mViewMtx

◆ mVtxCol

_GXColor* J3DSys::mVtxCol

◆ mVtxNrm

void* J3DSys::mVtxNrm

◆ mVtxPos

void* J3DSys::mVtxPos

◆ sTexCoordScaleTable

J3DTexCoordScaleInfo J3DSys::sTexCoordScaleTable
static

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