#include <TMesh.h>
Public Types | |
| enum | State_ : State { State_None = 0 , State_Created = BITFLAG( 0 ) , State_Validated = BITFLAG( 1 ) , State_Unknown1 = BITFLAG( 2 ) , State_Glow = BITFLAG( 3 ) } |
| enum | FLAG_ : FLAG { FLAG_LOCKED = 0x8000 } |
| using | State = TUINT32 |
| using | FLAG = TUINT32 |
Public Types inherited from TObject | |
| enum | { IsTObject = TTRUE } |
Public Member Functions | |
| TDECLARE_CLASS (TMesh, TObject) | |
| TMesh () | |
| virtual TBOOL | Validate () |
| virtual void | Invalidate () |
| virtual TBOOL | Create () |
| virtual TBOOL | Render () |
| virtual void | OnDestroy () |
| void | SetFlags (State a_eFlags, TBOOL a_bEnable) |
| void | DestroyResource () |
| TMaterial * | GetMaterial () const |
| void | SetMaterial (TMaterial *a_pMaterial) |
| TShader * | GetOwnerShader () |
| void | SetOwnerShader (TShader *a_pShader) |
| TBOOL | IsCreated () const |
| TBOOL | IsValidated () const |
| TBOOL | IsUnknownState1 () const |
Public Member Functions inherited from TObject | |
| virtual Toshi::TClass * | GetClass () |
| virtual void | Delete () |
| virtual | ~TObject () |
| TBOOL | IsExactly (TClass *a_pClass) |
| TBOOL | IsA (TClass *a_pClass) |
Protected Member Functions | |
| ~TMesh () | |
Protected Attributes | |
| TMaterial * | m_pMaterial |
| TShader * | m_pOwnerShader |
| State | m_State |
Additional Inherited Members | |
Static Public Member Functions inherited from TObject | |
| static Toshi::TObject * | CreateTObject () |
| static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
| static void | InitialiseClass () |
| static void | DeinitialiseClass () |
| static TFORCEINLINE TClass * | GetClassStatic () |
Static Public Attributes inherited from TObject | |
| static constexpr Toshi::TClass * | PARENTCLASS = TNULL |
| static constinit Toshi::TClass | ms_oClass = Toshi::TClass( "TObject", TObject::CreateTObject, TObject::CreateTObjectInPlace, TObject::InitialiseClass, TObject::DeinitialiseClass, 0, 2, sizeof( TObject ), alignof( TObject ) ) |
| using TMesh::FLAG = TUINT32 |
| using TMesh::State = TUINT32 |
| enum TMesh::FLAG_ : FLAG |
| enum TMesh::State_ : State |
| Enumerator | |
|---|---|
| State_None | |
| State_Created | |
| State_Validated | |
| State_Unknown1 | |
| State_Glow | |
|
protected |
|
virtual |
| void TMesh::DestroyResource | ( | ) |
| TMaterial * TMesh::GetMaterial | ( | ) | const |
| TShader * TMesh::GetOwnerShader | ( | ) |
|
virtual |
| TBOOL TMesh::IsCreated | ( | ) | const |
| TBOOL TMesh::IsUnknownState1 | ( | ) | const |
| TBOOL TMesh::IsValidated | ( | ) | const |
|
virtual |
| void TMesh::SetMaterial | ( | TMaterial * | a_pMaterial | ) |
| void TMesh::SetOwnerShader | ( | TShader * | a_pShader | ) |
|
virtual |