#include <TTextureFactoryHAL_DX8.h>
Public Member Functions | |
TDECLARE_CLASS (TTextureFactoryHAL, TTextureFactory) | |
TTexture * | CreateTextureFromFile (const TCHAR *a_szFilePath, TUINT32 a_eTextureFlags) override |
TTexture * | CreateTextureFromMemory (void *a_pData, TUINT a_uiDataSize, TUINT a_eTextureFlags, TUINT a_uiWidth, TUINT a_uiHeight) override |
TTexture * | CreateEx (void *a_pData, TUINT a_uiDataSize, TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiMipLevels, TTEXTURERESOURCEFORMAT a_eFormat, TUINT a_uiMipMapFlags) override |
TTexture * | CreateFromT2Texture (T2Texture *a_pTexture) override |
![]() | |
TDECLARE_CLASS (TTextureFactory, TResource) | |
TTextureFactory ()=default | |
~TTextureFactory () | |
virtual void | Dump () const |
TNodeList< NameEntry > * | GetList (TUINT a_uiList) |
TTexture * | FindTexture (const TCHAR *a_szName) const |
NameEntry * | RegisterTexture (const TCHAR *a_szName, TTexture *a_pTexture) |
void | DeregisterTexture (TTexture *a_pTexture) |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
using | t_RecurseCb = TBOOL ( * )( TResource* a_pResource, void* a_pUserData ) |
![]() | |
enum | { IsTObject = TTRUE } |
![]() | |
static TUINT32 | HashName (const TCHAR *a_szName) |
![]() | |
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 TUINT32 | NUM_LISTS = 1024 |
![]() | |
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 () | |
![]() | |
TNodeTree< T > * | m_Tree |
T * | m_Next |
T * | m_Prev |
T * | m_Parent |
T * | m_Child |
Definition at line 6 of file TTextureFactoryHAL_DX8.h.
|
overridevirtual |
Implements TTextureFactory.
Definition at line 69 of file TTextureFactoryHAL_DX8.cpp.
Implements TTextureFactory.
Definition at line 97 of file TTextureFactoryHAL_DX8.cpp.
|
overridevirtual |
Implements TTextureFactory.
Definition at line 17 of file TTextureFactoryHAL_DX8.cpp.
|
overridevirtual |
Implements TTextureFactory.
Definition at line 41 of file TTextureFactoryHAL_DX8.cpp.
TTextureFactoryHAL::TDECLARE_CLASS | ( | TTextureFactoryHAL | , |
TTextureFactory | ) |