sead
Loading...
Searching...
No Matches
agl::g3d::ModelEx Class Reference

#include <aglModelEx.h>

Inherits nw::g3d::ModelObj.

Public Member Functions

 ModelEx ()
virtual ~ModelEx ()
ModelShaderAssign & getShaderAssign (s32 index) const
MaterialEx & getMaterialEx (s32 index) const
void createEx (sead::Heap *heap)
void destroyEx ()
Public Member Functions inherited from nw::g3d::ModelObj
 ModelObj ()
bool Init (const InitArg &arg, void *pBuffer, size_t bufferSize)
size_t CalcBlockBufferSize ()
bool SetupBlockBuffer (void *pBuffer, size_t bufferSize)
void CleanupBlockBuffer ()
void CalcWorld (const Mtx34 &baseMtx)
void CalcBounding ()
void CalcMtxBlock (int bufferIndex=0)
void CalcShape (int bufferIndex=0)
void CalcMaterial ()
void CalcView (int viewIndex, const Mtx34 &cameraMtx, int bufferIndex=0)
ResModel * GetResource ()
const ResModel * GetResource () const
void * GetBufferPtr ()
void * GetBlockBufferPtr ()
bool IsBlockBufferValid () const
void EnableBlockSwapAll ()
void DisableBlockSwapAll ()
int GetViewCount () const
bool IsViewDependent () const
void UpdateViewDependency ()
Sphere * GetBounding ()
const Sphere * GetBounding () const
void SetUserPtr (void *pUserPtr)
void * GetUserPtr ()
const void * GetUserPtr () const
T * GetUserPtr ()
const T * GetUserPtr () const
bool IsShapeVisible (int shapeIndex) const
bool IsBoneVisible (int boneIndex) const
void SetBoneVisibility (int boneIndex, bool visible)
bit32 * GetBoneVisArray ()
const bit32 * GetBoneVisArray () const
void ClearBoneVisibility ()
bool IsMatVisible (int matIndex) const
void SetMatVisibility (int matIndex, bool visible)
bit32 * GetMatVisArray ()
const bit32 * GetMatVisArray () const
void ClearMatVisibility ()
SkeletonObj * GetSkeleton ()
const SkeletonObj * GetSkeleton () const
int GetShapeCount () const
ShapeObj * GetShape (int shapeIndex)
const ShapeObj * GetShape (int shapeIndex) const
ShapeObj * GetShape (const char *name)
const ShapeObj * GetShape (const char *name) const
const char * GetShapeName (int shapeIndex) const
int GetShapeIndex (const char *name) const
int GetMaterialCount () const
MaterialObj * GetMaterial (int matIndex)
const MaterialObj * GetMaterial (int matIndex) const
MaterialObj * GetMaterial (const char *name)
const MaterialObj * GetMaterial (const char *name) const
const char * GetMaterialName (int matIndex) const
int GetMaterialIndex (const char *name) const

Private Attributes

ModelShaderAssign * mpShaderAssign
MaterialEx * mpMaterialEx

Additional Inherited Members

Public Types inherited from nw::g3d::ModelObj
enum  Alignment
Static Public Member Functions inherited from nw::g3d::ModelObj
static size_t CalcBufferSize (const InitArg &arg)
Public Attributes inherited from nw::g3d::ModelObj
 BUFFER_ALIGNMENT
 BLOCK_BUFFER_ALIGNMENT
Protected Types inherited from nw::g3d::ModelObj
enum  Flag
Protected Attributes inherited from nw::g3d::ModelObj
 BLOCK_BUFFER_VALID

Constructor & Destructor Documentation

◆ ModelEx()

agl::g3d::ModelEx::ModelEx ( )

◆ ~ModelEx()

agl::g3d::ModelEx::~ModelEx ( )
virtual

Member Function Documentation

◆ getShaderAssign()

ModelShaderAssign & agl::g3d::ModelEx::getShaderAssign ( s32 index) const
inline

◆ getMaterialEx()

MaterialEx & agl::g3d::ModelEx::getMaterialEx ( s32 index) const
inline

◆ createEx()

void agl::g3d::ModelEx::createEx ( sead::Heap * heap)

◆ destroyEx()

void agl::g3d::ModelEx::destroyEx ( )

Member Data Documentation

◆ mpShaderAssign

ModelShaderAssign* agl::g3d::ModelEx::mpShaderAssign
private

◆ mpMaterialEx

MaterialEx* agl::g3d::ModelEx::mpMaterialEx
private