#include <TVertexPoolResourceInterface.h>
Classes | |
struct | LockBuffer |
Public Member Functions | |
TDECLARE_CLASS (TVertexPoolResourceInterface, TResource) | |
TVertexPoolResourceInterface () | |
virtual void | OnDestroy () override |
virtual TBOOL | Lock (LockBuffer *a_pLockBuffer)=0 |
virtual void | Unlock (TUINT16 a_uiNewNumVertices)=0 |
virtual TBOOL | Create (TVertexFactoryResourceInterface *a_pFactory, TUINT16 a_uiMaxVertices, TUINT16 a_uiFlags) |
TVertexFactoryResourceInterface * | GetFactory () const |
TUINT16 | GetFlags () const |
TUINT16 | GetMaxVertices () const |
TUINT16 | GetNumVertices () const |
TBOOL | IsLocked () 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 () |
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 |
Protected Attributes | |
TVertexFactoryResourceInterface * | m_pFactory |
TUINT16 | m_uiFlags |
TUINT16 | m_uiMaxVertices |
TUINT16 | m_uiNumVertices |
TUINT16 | m_uiLockCount |
![]() | |
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 () |
![]() | |
friend | TRenderInterface |
![]() | |
friend | TNodeTree |
![]() | |
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 ) ) |
![]() | |
TNode () | |
Definition at line 7 of file TVertexPoolResourceInterface.h.
TVertexPoolResourceInterface::TVertexPoolResourceInterface | ( | ) |
Definition at line 14 of file TVertexPoolResourceInterface.cpp.
|
virtual |
Reimplemented in TVertexPoolResource.
Definition at line 29 of file TVertexPoolResourceInterface.cpp.
|
inline |
Definition at line 30 of file TVertexPoolResourceInterface.h.
|
inline |
Definition at line 31 of file TVertexPoolResourceInterface.h.
|
inline |
Definition at line 32 of file TVertexPoolResourceInterface.h.
|
inline |
Definition at line 33 of file TVertexPoolResourceInterface.h.
|
inline |
Definition at line 34 of file TVertexPoolResourceInterface.h.
|
pure virtual |
Implemented in TVertexPoolResource.
|
overridevirtual |
Reimplemented from TResource.
Reimplemented in TVertexPoolResource.
Definition at line 23 of file TVertexPoolResourceInterface.cpp.
TVertexPoolResourceInterface::TDECLARE_CLASS | ( | TVertexPoolResourceInterface | , |
TResource | ) |
|
pure virtual |
Implemented in TVertexPoolResource.
|
protected |
Definition at line 37 of file TVertexPoolResourceInterface.h.
|
protected |
Definition at line 38 of file TVertexPoolResourceInterface.h.
|
protected |
Definition at line 41 of file TVertexPoolResourceInterface.h.
|
protected |
Definition at line 39 of file TVertexPoolResourceInterface.h.
|
protected |
Definition at line 40 of file TVertexPoolResourceInterface.h.