#include <TVertexBlockResource_DX8.h>
Classes | |
struct | HALBuffer |
Public Member Functions | |
TDECLARE_CLASS (TVertexBlockResource, TResource) | |
TFORCEINLINE void * | operator new (size_t s) |
TFORCEINLINE void * | operator new (size_t s, void *where) |
TFORCEINLINE void | operator delete (void *ptr) |
TFORCEINLINE void | operator delete (void *ptr, void *where) |
TVertexBlockResource () | |
virtual TBOOL | Validate () override |
virtual void | Invalidate () override |
virtual TBOOL | TryInvalidate () override |
virtual TBOOL | TryValidate () override |
TBOOL | AttachPool (TVertexPoolResource *a_pPool) |
TBOOL | DettachPool (TVertexPoolResource *a_pPool) |
TBOOL | CanFit (TVertexPoolResource *a_pPoolResource) const |
void | ChildVertexUsedChanged (TINT a_iChange) |
TBOOL | Lock (TVertexPoolResourceInterface::LockBuffer *a_pLockBuffer, TUINT16 a_uiNumVertices) |
void | Unlock () |
TBOOL | Create (TVertexFactoryResourceInterface *a_pFactory, TUINT16 a_uiMaxVertices, TUINT32 a_uiFlags) |
TBOOL | CreateHAL () |
void | DestroyHAL () |
TBOOL | GetHALBuffer (HALBuffer *a_pHALBuffer) const |
![]() | |
TDECLARE_CLASS (TResource, TObject) | |
TResource () | |
~TResource () | |
virtual TBOOL | Create () |
virtual void | DestroyResource () |
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 |
Static Public Member Functions | |
static void | SetupFreeList (TINT a_iCapacity, TINT a_iGrowSize) |
static TVertexBlockResource * | CreateNew () |
![]() | |
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 Public Attributes | |
static Toshi::TFreeList | ms_oFreeList = Toshi::TFreeList( sizeof( TVertexBlockResource ), 0, 8, "TVertexBlockResource" ) |
![]() | |
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 ) ) |
Protected Attributes | |
TVertexFactoryResourceInterface * | m_pFactory |
TUINT | m_uiFlags |
TUINT16 | m_uiMaxVertices |
TUINT | m_uiOffset |
TUINT | m_uiVerticesUsed |
TUINT | m_uiLockCount |
TUINT | m_Unk1 |
HALBuffer | m_HALBuffer |
![]() | |
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 } |
![]() | |
friend | TRenderInterface |
![]() | |
friend | TNodeTree |
![]() | |
TNode () | |
Definition at line 14 of file TVertexBlockResource_DX8.h.
TVertexBlockResource::TVertexBlockResource | ( | ) |
Definition at line 357 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::AttachPool | ( | TVertexPoolResource * | a_pPool | ) |
Definition at line 20 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::CanFit | ( | TVertexPoolResource * | a_pPoolResource | ) | const |
Definition at line 36 of file TVertexBlockResource_DX8.cpp.
void TVertexBlockResource::ChildVertexUsedChanged | ( | TINT | a_iChange | ) |
Definition at line 159 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::Create | ( | TVertexFactoryResourceInterface * | a_pFactory, |
TUINT16 | a_uiMaxVertices, | ||
TUINT32 | a_uiFlags ) |
Definition at line 64 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::CreateHAL | ( | ) |
Definition at line 73 of file TVertexBlockResource_DX8.cpp.
|
inlinestatic |
Definition at line 20 of file TVertexBlockResource_DX8.h.
void TVertexBlockResource::DestroyHAL | ( | ) |
Definition at line 130 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::DettachPool | ( | TVertexPoolResource * | a_pPool | ) |
Definition at line 47 of file TVertexBlockResource_DX8.cpp.
Definition at line 368 of file TVertexBlockResource_DX8.cpp.
|
overridevirtual |
Reimplemented from TResource.
Definition at line 255 of file TVertexBlockResource_DX8.cpp.
TBOOL TVertexBlockResource::Lock | ( | TVertexPoolResourceInterface::LockBuffer * | a_pLockBuffer, |
TUINT16 | a_uiNumVertices ) |
Definition at line 267 of file TVertexBlockResource_DX8.cpp.
|
inline |
Definition at line 18 of file TVertexBlockResource_DX8.h.
|
inline |
Definition at line 18 of file TVertexBlockResource_DX8.h.
|
inline |
Definition at line 18 of file TVertexBlockResource_DX8.h.
|
inline |
Definition at line 18 of file TVertexBlockResource_DX8.h.
Definition at line 18 of file TVertexBlockResource_DX8.h.
TVertexBlockResource::TDECLARE_CLASS | ( | TVertexBlockResource | , |
TResource | ) |
|
overridevirtual |
Reimplemented from TResource.
Definition at line 170 of file TVertexBlockResource_DX8.cpp.
|
overridevirtual |
void TVertexBlockResource::Unlock | ( | ) |
Definition at line 336 of file TVertexBlockResource_DX8.cpp.
|
overridevirtual |
Reimplemented from TResource.
Definition at line 192 of file TVertexBlockResource_DX8.cpp.
|
protected |
Definition at line 76 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 69 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 70 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 74 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 71 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 72 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 73 of file TVertexBlockResource_DX8.h.
|
protected |
Definition at line 75 of file TVertexBlockResource_DX8.h.
|
static |
Definition at line 18 of file TVertexBlockResource_DX8.h.