|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 65 of file lyt_material.h.
Public Member Functions | |
| Material (const res::Material *pRes, const ResBlockSet &rBlockSet) | |
| virtual bool | SetupGX (bool modulate, u8 alpha) |
| virtual void | BindAnimation (AnimTransform *pAnimTrans) |
| virtual void | UnbindAnimation (AnimTransform *pAnimTrans) |
| virtual void | UnbindAllAnimation () |
| virtual void | Animate () |
| virtual AnimationLink * | FindAnimationLink (AnimTransform *pAnimTrans) |
| virtual AnimationLink * | FindAnimationLink (const AnimResource &animRes) |
| virtual void | SetAnimationEnable (AnimTransform *pAnimTrans, bool enable) |
| virtual void | SetAnimationEnable (const AnimResource &animRes, bool enable) |
| void | AddAnimationLink (AnimationLink *pAnimLink) |
| GXColorS10 | GetTevColor (ulong idx) |
| void | SetTevColor (ulong idx, const GXColorS10 &rColor) |
| ut::Color | GetTevKColor (ulong idx) |
| void | SetTevKColor (ulong idx, ut::Color color) |
| u8 | GetTextureNum () const |
| u8 | GetTextureCap () const |
| void | SetTextureNum (u8 num) |
| u8 | GetTexSRTCap () const |
| u8 | GetTexCoordGenCap () const |
| void | SetTexCoordGenNum (u8 num) |
| u8 | GetIndTexSRTCap () const |
| u8 | GetTevStageNum () const |
| void | SetTevStageNum (u8 num) |
| void | SetIndStageNum (u8 num) |
| void | SetColorElement (ulong idx, s16 value) |
| bool | IsTevSwapCap () const |
| bool | IsChanCtrlCap () const |
| bool | IsMatColorCap () const |
| bool | IsAlphaCompareCap () const |
| bool | IsBlendModeCap () const |
| const TexMap * | GetTexMapAry () const |
| TexMap * | GetTexMapAry () |
| const TexSRT * | GetTexSRTAry () const |
| TexSRT * | GetTexSRTAry () |
| const TexCoordGen * | GetTexCoordGenAry () const |
| TexCoordGen * | GetTexCoordGenAry () |
| const ChanCtrl * | GetChanCtrlAry () const |
| ChanCtrl * | GetChanCtrlAry () |
| const ut::Color * | GetMatColAry () const |
| ut::Color * | GetMatColAry () |
| const TevSwapMode * | GetTevSwapAry () const |
| TevSwapMode * | GetTevSwapAry () |
| const AlphaCompare * | GetAlphaComparePtr () const |
| AlphaCompare * | GetAlphaComparePtr () |
| const BlendMode * | GetBlendModePtr () const |
| BlendMode * | GetBlendModePtr () |
| const IndirectStage * | GetIndirectStageAry () const |
| IndirectStage * | GetIndirectStageAry () |
| const TexSRT * | GetIndTexSRTAry () const |
| TexSRT * | GetIndTexSRTAry () |
| const TevStage * | GetTevStageAry () const |
| TevStage * | GetTevStageAry () |
| const TexMap & | GetTexture (u8 idx) const |
| void | GetTexture (GXTexObj *pTexObj, u8 idx) const |
| void | SetTexture (u8 idx, const TexMap &rTexMap) |
| void | SetTextureNoWrap (u8 idx, const TexMap &rTexMap) |
| const TexSRT & | GetTexSRT (ulong idx) const |
| void | SetTexSRT (const TexSRT &rTexSRT, ulong idx) |
| void | SetTexSRTElement (ulong srt, ulong idx, f32 value) |
| void | SetTexCoordGen (ulong idx, TexCoordGen gen) |
| ut::Color | GetMatColor () const |
| void | SetIndTexSRTElement (ulong srt, ulong idx, f32 value) |
| void | SetName (const char *pName) |
| const char * | GetName () const |
| bool | IsUserAllocated () const |
Protected Attributes | |
| AnimationLinkList | mAnimList |
| GXColorS10 | mTevCols [TEVCOLOR_MAX] |
| ut::Color | mTevKCols [GX_MAX_KCOLOR] |
| detail::BitGXNums | mGXMemCap |
| detail::BitGXNums | mGXMemNum |
| void * | mpGXMem |
| char | mName [NW4R_LYT_MATERIAL_NAME_LEN+1] |
| bool | mbUserAllocated |
| u8 | PADDING_0x5A [0x5C - 0x5A] |
Static Protected Attributes | |
| static const int | MAX_TEX_SRT = (GX_TEXMTX9 - GX_TEXMTX0) / 3 + 1 |
| static const int | MAX_IND_SRT = (GX_ITM_2 - GX_ITM_0) + 1 |
Private Member Functions | |
| void | Init () |
| void | InitBitGXNums (detail::BitGXNums *pNums) |
| void | ReserveGXMem (u8 texMapNum, u8 texSrtNum, u8 texCoordGenNum, u8 tevStageNum, bool allocTevSwap, u8 indStageNum, u8 indSrtNum, bool allocChanCtrl, bool allocMatCol, bool allocAlpComp, bool allocBlendMode) |
|
inline |
Definition at line 90 of file lyt_material.h.
|
inline |
Definition at line 93 of file lyt_material.h.
|
inline |
Definition at line 97 of file lyt_material.h.
|
inline |
Definition at line 100 of file lyt_material.h.
|
inline |
Definition at line 104 of file lyt_material.h.
|
inline |
Definition at line 107 of file lyt_material.h.
|
inline |
Definition at line 112 of file lyt_material.h.
|
inline |
Definition at line 116 of file lyt_material.h.
|
inline |
Definition at line 121 of file lyt_material.h.
|
inline |
Definition at line 125 of file lyt_material.h.
|
inline |
Definition at line 134 of file lyt_material.h.
|
inline |
Definition at line 137 of file lyt_material.h.
|
inline |
Definition at line 140 of file lyt_material.h.
|
inline |
Definition at line 143 of file lyt_material.h.
|
inline |
Definition at line 146 of file lyt_material.h.
|
inline |
Definition at line 183 of file lyt_material.h.
|
inline |
Definition at line 186 of file lyt_material.h.
|
inline |
Definition at line 189 of file lyt_material.h.
|
inline |
Definition at line 192 of file lyt_material.h.
|
inline |
Definition at line 196 of file lyt_material.h.
|
inline |
Definition at line 199 of file lyt_material.h.
|
inline |
Definition at line 203 of file lyt_material.h.
|
inline |
Definition at line 208 of file lyt_material.h.
|
inline |
Definition at line 212 of file lyt_material.h.
|
inline |
Definition at line 216 of file lyt_material.h.
|
inline |
Definition at line 222 of file lyt_material.h.
|
inline |
Definition at line 226 of file lyt_material.h.
|
staticprotected |
Definition at line 231 of file lyt_material.h.
|
staticprotected |
Definition at line 232 of file lyt_material.h.
|
protected |
Definition at line 235 of file lyt_material.h.
|
protected |
Definition at line 237 of file lyt_material.h.
|
protected |
Definition at line 238 of file lyt_material.h.
|
protected |
Definition at line 240 of file lyt_material.h.
|
protected |
Definition at line 241 of file lyt_material.h.
|
protected |
Definition at line 242 of file lyt_material.h.
|
protected |
Definition at line 244 of file lyt_material.h.
|
protected |
Definition at line 245 of file lyt_material.h.
|
protected |
Definition at line 247 of file lyt_material.h.