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

#include <aglModelEx.h>

Inherits nw::g3d::ModelObj.

Public Member Functions

 ModelEx ()
virtual ~ModelEx ()
ModelShaderAssigngetShaderAssign (s32 index) const
MaterialExgetMaterialEx (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 ()
SphereGetBounding ()
const SphereGetBounding () 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)
bit32GetBoneVisArray ()
const bit32GetBoneVisArray () const
void ClearBoneVisibility ()
bool IsMatVisible (int matIndex) const
void SetMatVisibility (int matIndex, bool visible)
bit32GetMatVisArray ()
const bit32GetMatVisArray () const
void ClearMatVisibility ()
SkeletonObjGetSkeleton ()
const SkeletonObjGetSkeleton () const
int GetShapeCount () const
ShapeObjGetShape (int shapeIndex)
const ShapeObjGetShape (int shapeIndex) const
ShapeObjGetShape (const char *name)
const ShapeObjGetShape (const char *name) const
const char * GetShapeName (int shapeIndex) const
int GetShapeIndex (const char *name) const
int GetMaterialCount () const
MaterialObjGetMaterial (int matIndex)
const MaterialObjGetMaterial (int matIndex) const
MaterialObjGetMaterial (const char *name)
const MaterialObjGetMaterial (const char *name) const
const char * GetMaterialName (int matIndex) const
int GetMaterialIndex (const char *name) const

Private Attributes

ModelShaderAssignmpShaderAssign
MaterialExmpMaterialEx

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