#include <TIndexFactoryResourceInterface.h>
Public Member Functions | |
TDECLARE_CLASS (TIndexFactoryResourceInterface, TResource) | |
TIndexFactoryResourceInterface () | |
virtual TBOOL | Create (TIndexFactoryFormat *a_pIndexFormat, TUINT16 a_uiMaxStaticIndices, TUINT32 a_uiFlags) |
virtual TIndexPoolResourceInterface * | CreatePoolResource (TUINT16 a_uiMaxStaticIndices, TUINT16 a_uiFlags)=0 |
const TIndexFactoryFormat & | GetIndexFormat () const |
TUINT16 | GetMaxStaticIndices () const |
![]() | |
TDECLARE_CLASS (TResource, TObject) | |
TResource () | |
~TResource () | |
virtual TBOOL | Create () |
virtual TBOOL | Validate () |
virtual void | Invalidate () |
virtual void | DestroyResource () |
virtual TBOOL | TryInvalidate () |
virtual TBOOL | TryValidate () |
virtual void | OnDestroy () |
TBOOL | IsDead () const |
TBOOL | IsDying () const |
TBOOL | IsValid () const |
TBOOL | IsExternal () const |
TBOOL | IsCreated () const |
TBOOL | IsSceneObject () const |
TBOOL | IsInvalid () const |
void | SetState (TResourceState newState) |
void | AddState (TResourceState state) |
void | SetParent (TResource *a_pParent) |
const TCHAR * | GetName () const |
void | SetName (const TCHAR *name) |
TBOOL | RecurseSimple (t_RecurseCb a_pCallback, TResource *a_pResource, void *a_pUserData) |
TRenderInterface * | GetRenderer () const |
void | SetRenderer (TRenderInterface *pRenderer) |
TUINT32 | GetUId () const |
void | SetUId (TUINT32 uid) |
![]() | |
virtual Toshi::TClass * | GetClass () |
virtual void | Delete () |
virtual | ~TObject () |
TBOOL | IsExactly (TClass *a_pClass) |
TBOOL | IsA (TClass *a_pClass) |
![]() | |
TBOOL | IsChildOfDefaultRoot () const |
TBOOL | IsLinked () const |
T * | Parent () const |
T * | Next () const |
T * | Prev () const |
TNodeTree< T > * | Tree () const |
T * | Child () const |
Public Attributes | |
friend | TIndexPoolResourceInterface |
![]() | |
friend | TRenderInterface |
![]() | |
friend | TNodeTree |
Protected Member Functions | |
TIndexPoolResourceInterface * | CreatePool (TUINT16 a_uiMaxStaticIndices, TUINT32 a_uiFlags) |
![]() | |
TNode () | |
Protected Attributes | |
TUINT | m_uiNumPools |
TIndexFactoryFormat | m_IndexFormat |
TUINT16 | m_uiMaxStaticIndices |
TUINT | m_uiFlags |
![]() | |
TNodeTree< T > * | m_Tree |
T * | m_Next |
T * | m_Prev |
T * | m_Parent |
T * | m_Child |
Additional Inherited Members | |
![]() | |
using | t_RecurseCb = TBOOL ( * )( TResource* a_pResource, void* a_pUserData ) |
![]() | |
enum | { IsTObject = TTRUE } |
![]() | |
static TBOOL | Recurse (t_RecurseCb a_pCallback, TResource *a_pResource, TBOOL a_bFlag, void *a_pUserData) |
![]() | |
static Toshi::TObject * | CreateTObject () |
static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
static void | InitialiseClass () |
static void | DeinitialiseClass () |
static TFORCEINLINE TClass * | GetClassStatic () |
![]() | |
static constexpr size_t | MAXNAMELEN = 14 |
![]() | |
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 ) ) |
Definition at line 9 of file TIndexFactoryResourceInterface.h.
TIndexFactoryResourceInterface::TIndexFactoryResourceInterface | ( | ) |
Definition at line 18 of file TIndexFactoryResourceInterface.cpp.
|
virtual |
Definition at line 26 of file TIndexFactoryResourceInterface.cpp.
|
protected |
Definition at line 34 of file TIndexFactoryResourceInterface.cpp.
|
pure virtual |
Implemented in TIndexFactoryResource.
|
inline |
Definition at line 23 of file TIndexFactoryResourceInterface.h.
|
inline |
Definition at line 24 of file TIndexFactoryResourceInterface.h.
TIndexFactoryResourceInterface::TDECLARE_CLASS | ( | TIndexFactoryResourceInterface | , |
TResource | ) |
|
protected |
Definition at line 31 of file TIndexFactoryResourceInterface.h.
|
protected |
Definition at line 33 of file TIndexFactoryResourceInterface.h.
|
protected |
Definition at line 32 of file TIndexFactoryResourceInterface.h.
|
protected |
Definition at line 30 of file TIndexFactoryResourceInterface.h.
friend TIndexFactoryResourceInterface::TIndexPoolResourceInterface |
Definition at line 15 of file TIndexFactoryResourceInterface.h.