NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::g3d::ResMdl Class Reference
Inheritance diagram for nw4r::g3d::ResMdl:
[legend]

Description

Definition at line 122 of file g3d_resmdl.h.

Public Member Functions

 NW4R_G3D_RESOURCE_FUNC_DEF (ResMdl)
 
void Init ()
 
void Terminate ()
 
bool Bind (const ResFile file)
 
void Release ()
 
ulong GetRevision () const
 
bool CheckRevision () const
 
const u8 * GetResByteCode (const char *pName) const
 
ResNode GetResNode (const char *pName) const
 
ResNode GetResNode (const ResName name) const
 
ResNode GetResNode (int idx) const
 
ResNode GetResNode (ulong idx) const
 
ulong GetResNodeNumEntries () const
 
ResVtxPos GetResVtxPos (const ResName name) const
 
ResVtxPos GetResVtxPos (int idx) const
 
ResVtxPos GetResVtxPos (ulong idx) const
 
ulong GetResVtxPosNumEntries () const
 
ResVtxNrm GetResVtxNrm (const ResName name) const
 
ResVtxNrm GetResVtxNrm (int idx) const
 
ResVtxNrm GetResVtxNrm (ulong idx) const
 
ulong GetResVtxNrmNumEntries () const
 
ResVtxClr GetResVtxClr (const ResName name) const
 
ResVtxClr GetResVtxClr (int idx) const
 
ResVtxClr GetResVtxClr (ulong idx) const
 
ulong GetResVtxClrNumEntries () const
 
ResVtxTexCoord GetResVtxTexCoord (int idx) const
 
ulong GetResVtxTexCoordNumEntries () const
 
ResMat GetResMat (const char *pName) const
 
ResMat GetResMat (const ResName name) const
 
ResMat GetResMat (int idx) const
 
ResMat GetResMat (size_t idx) const
 
ulong GetResMatNumEntries () const
 
ResShp GetResShp (const char *pName) const
 
ResShp GetResShp (int idx) const
 
ResShp GetResShp (ulong idx) const
 
ulong GetResShpNumEntries () const
 
ResTexPlttInfo GetResTexPlttInfoOffsetFromTexName (int idx) const
 
ulong GetResTexPlttInfoOffsetFromTexNameNumEntries () const
 
ResMdlInfo GetResMdlInfo ()
 
ResMdlInfo GetResMdlInfo () const
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< ResMdlData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
ResMdlDataptr ()
 
const ResMdlDataptr () const
 
ResMdlDataref ()
 
const ResMdlDataref () const
 
ResMdlDataofs_to_ptr_raw (s32 ofs)
 
const ResMdlDataofs_to_ptr_raw (s32 ofs) const
 
ResMdlDataofs_to_ptr (s32 ofs)
 
const ResMdlDataofs_to_ptr (s32 ofs) const
 
ResMdlData ofs_to_obj (s32 ofs)
 
const ResMdlData ofs_to_obj (s32 ofs) const
 

Static Public Attributes

static const ulong SIGNATURE = 'MDL0'
 
static const int REVISION = 9
 

Member Function Documentation

◆ GetRevision()

ulong nw4r::g3d::ResMdl::GetRevision ( ) const
inline

Definition at line 136 of file g3d_resmdl.h.

◆ CheckRevision()

bool nw4r::g3d::ResMdl::CheckRevision ( ) const
inline

Definition at line 140 of file g3d_resmdl.h.

◆ GetResMdlInfo() [1/2]

ResMdlInfo nw4r::g3d::ResMdl::GetResMdlInfo ( )
inline

Definition at line 184 of file g3d_resmdl.h.

◆ GetResMdlInfo() [2/2]

ResMdlInfo nw4r::g3d::ResMdl::GetResMdlInfo ( ) const
inline

Definition at line 187 of file g3d_resmdl.h.

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::g3d::ResMdl::SIGNATURE = 'MDL0'
static

Definition at line 124 of file g3d_resmdl.h.

◆ REVISION

const int nw4r::g3d::ResMdl::REVISION = 9
static

Definition at line 125 of file g3d_resmdl.h.