#include <TVertexFactoryResourceInterface.h>
Public Member Functions | |
TDECLARE_CLASS (TVertexFactoryResourceInterface, TResource) | |
TVertexFactoryResourceInterface () | |
virtual TBOOL | Create (TVertexFactoryFormat *a_pVertexFormat, TUINT16 a_uiMaxStaticVertices, TUINT32 a_uiFlags) |
virtual TVertexPoolResourceInterface * | CreatePoolResource (TUINT16 a_uiMaxStaticVertices, TUINT16 a_uiFlags)=0 |
const TVertexFactoryFormat & | GetVertexFormat () const |
TUINT16 | GetMaxStaticVertices () 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 | TVertexPoolResourceInterface |
![]() | |
friend | TRenderInterface |
![]() | |
friend | TNodeTree |
Protected Member Functions | |
TVertexPoolResourceInterface * | CreatePool (TUINT16 a_uiMaxStaticVertices, TUINT32 a_uiFlags) |
![]() | |
TNode () | |
Protected Attributes | |
TUINT | m_uiNumPools |
TVertexFactoryFormat | m_VertexFormat |
TUINT16 | m_uiMaxStaticVertices |
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 TVertexFactoryResourceInterface.h.
TVertexFactoryResourceInterface::TVertexFactoryResourceInterface | ( | ) |
Definition at line 14 of file TVertexFactoryResourceInterface.cpp.
|
virtual |
Definition at line 21 of file TVertexFactoryResourceInterface.cpp.
|
protected |
Definition at line 31 of file TVertexFactoryResourceInterface.cpp.
|
pure virtual |
Implemented in TVertexFactoryResource.
|
inline |
Definition at line 24 of file TVertexFactoryResourceInterface.h.
|
inline |
Definition at line 23 of file TVertexFactoryResourceInterface.h.
TVertexFactoryResourceInterface::TDECLARE_CLASS | ( | TVertexFactoryResourceInterface | , |
TResource | ) |
|
protected |
Definition at line 33 of file TVertexFactoryResourceInterface.h.
|
protected |
Definition at line 32 of file TVertexFactoryResourceInterface.h.
|
protected |
Definition at line 30 of file TVertexFactoryResourceInterface.h.
|
protected |
Definition at line 31 of file TVertexFactoryResourceInterface.h.
friend TVertexFactoryResourceInterface::TVertexPoolResourceInterface |
Definition at line 15 of file TVertexFactoryResourceInterface.h.