#include <TTextureResourceHAL_DX8.h>
Public Member Functions | |
| TDECLARE_CLASS (TTextureResourceHAL, TTexture) | |
| 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) |
| virtual TBOOL | Validate () override |
| virtual void | Invalidate () override |
| virtual TUINT | GetWidth () override |
| virtual TUINT | GetHeight () override |
| virtual TBOOL | Lock (TTexture::LOCKSTATE &a_rLockState) override |
| virtual void | Unlock () override |
| virtual void | CreateFromT2Texture (T2Texture *a_pTexture) override |
| virtual TBOOL | Create (void *a_pData, TUINT a_uiDataSize, TUINT a_eTextureFlags, TUINT a_uiWidth, TUINT a_uiHeight) override |
| virtual TBOOL | Create (const TCHAR *a_szFileName, TUINT a_eTextureFlags) override |
| virtual TBOOL | CreateEx (void *a_pData, TUINT a_uiDataSize, TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiMipLevels, TTEXTURERESOURCEFORMAT a_eFormat, TUINT a_uiMipMapFlags) override |
| TBOOL | CreateFromFormat () |
| TBOOL | CreateFromMemory8888 (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, void *a_pData) |
| TBOOL | CreateFromMemory888 (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, void *a_pData) |
| TBOOL | CreateFromMemory5551 (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, void *a_pData) |
| TBOOL | CreateFromMemoryDDS (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, void *a_pData) |
| TBOOL | CreateFromMemory4444 (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, void *a_pData) |
| TBOOL | CreateFromFileDDS (TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiLevels, const TCHAR *a_szFile) |
| IDirect3DTexture8 * | GetD3DTexture () |
| void | SetD3DTexture (IDirect3DTexture8 *a_pD3DTexture) |
| ADDRESSINGMODE | GetAddressUState () const |
| void | SetAddressUState (ADDRESSINGMODE a_eAddressing) |
| ADDRESSINGMODE | GetAddressVState () const |
| void | SetAddressVState (ADDRESSINGMODE a_eAddressing) |
| D3DXIMAGE_INFO & | GetImageInfo () |
| const D3DXIMAGE_INFO & | GetImageInfo () const |
Public Member Functions inherited from TTexture | |
| TDECLARE_CLASS (TTexture, TResource) | |
| TTexture () | |
| ~TTexture () | |
| void | SetAddressing (ADDRESSINGMODE a_eAddressing) |
| ADDRESSINGMODE | GetAddressing () const |
| TBOOL | CreateResource (void *a_pData, TUINT a_uiDataSize, TUINT a_eTextureFlags, TUINT a_uiWidth, TUINT a_uiHeight) |
| TBOOL | CreateResource (const TCHAR *a_szFileName, TUINT a_eTextureFlags) |
| TBOOL | CreateResource (void *a_pData, TUINT a_uiDataSize, TUINT a_uiWidth, TUINT a_uiHeight, TUINT a_uiMipLevels, TTEXTURERESOURCEFORMAT a_eFormat, TUINT a_uiFlags) |
Public Member Functions inherited from TResource | |
| TDECLARE_CLASS (TResource, TObject) | |
| TResource () | |
| ~TResource () | |
| virtual TBOOL | Create () |
| 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) |
Public Member Functions inherited from TObject | |
| virtual Toshi::TClass * | GetClass () |
| virtual void | Delete () |
| virtual | ~TObject () |
| TBOOL | IsExactly (TClass *a_pClass) |
| TBOOL | IsA (TClass *a_pClass) |
Public Member Functions inherited from TNodeTree< T >::TNode | |
| 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 TTextureResourceHAL * | CreateNew () |
| static TBOOL | IsPPM (const TCHAR *a_szName) |
Static Public Member Functions inherited from TResource | |
| static TBOOL | Recurse (t_RecurseCb a_pCallback, TResource *a_pResource, TBOOL a_bFlag, void *a_pUserData) |
Static Public Member Functions inherited from TObject | |
| 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( TTextureResourceHAL ), 0, 8, "TTextureResourceHAL" ) |
Static Public Attributes inherited from TResource | |
| static constexpr size_t | MAXNAMELEN = 14 |
Static Public Attributes inherited from TObject | |
| 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 ) ) |
Additional Inherited Members | |
Public Types inherited from TResource | |
| using | t_RecurseCb = TBOOL ( * )( TResource* a_pResource, void* a_pUserData ) |
Public Types inherited from TObject | |
| enum | { IsTObject = TTRUE } |
Public Attributes inherited from TTexture | |
| friend | TTextureFactory |
Public Attributes inherited from TResource | |
| friend | TRenderInterface |
Public Attributes inherited from TNodeTree< T >::TNode | |
| friend | TNodeTree |
Protected Member Functions inherited from TNodeTree< T >::TNode | |
| TNode () | |
Protected Attributes inherited from TTexture | |
| ADDRESSINGMODE | m_eAddressing |
| TUINT | m_eTextureFlags |
| TTextureFactory::NameEntry * | m_pNameEntry |
Protected Attributes inherited from TNodeTree< T >::TNode | |
| TNodeTree< T > * | m_Tree |
| T * | m_Next |
| T * | m_Prev |
| T * | m_Parent |
| T * | m_Child |
Definition at line 10 of file TTextureResourceHAL_DX8.h.
|
overridevirtual |
Implements TTexture.
Definition at line 131 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Implements TTexture.
Definition at line 105 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Reimplemented from TTexture.
Definition at line 147 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromFileDDS | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| const TCHAR * | a_szFile ) |
Definition at line 350 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromFormat | ( | ) |
Definition at line 171 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromMemory4444 | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| void * | a_pData ) |
Definition at line 266 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromMemory5551 | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| void * | a_pData ) |
Definition at line 259 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromMemory888 | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| void * | a_pData ) |
Definition at line 201 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromMemory8888 | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| void * | a_pData ) |
Definition at line 194 of file TTextureResourceHAL_DX8.cpp.
| TBOOL TTextureResourceHAL::CreateFromMemoryDDS | ( | TUINT | a_uiWidth, |
| TUINT | a_uiHeight, | ||
| TUINT | a_uiLevels, | ||
| void * | a_pData ) |
Definition at line 320 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Implements TTexture.
Definition at line 87 of file TTextureResourceHAL_DX8.cpp.
|
inlinestatic |
Definition at line 16 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 49 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 52 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 46 of file TTextureResourceHAL_DX8.h.
|
overridevirtual |
Implements TTexture.
Definition at line 40 of file TTextureResourceHAL_DX8.cpp.
|
inline |
Definition at line 55 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 56 of file TTextureResourceHAL_DX8.h.
|
overridevirtual |
Implements TTexture.
Definition at line 33 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Reimplemented from TResource.
Definition at line 451 of file TTextureResourceHAL_DX8.cpp.
Definition at line 380 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Reimplemented from TTexture.
Definition at line 47 of file TTextureResourceHAL_DX8.cpp.
|
inline |
Definition at line 14 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 14 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 14 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 14 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 50 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 53 of file TTextureResourceHAL_DX8.h.
|
inline |
Definition at line 47 of file TTextureResourceHAL_DX8.h.
Definition at line 14 of file TTextureResourceHAL_DX8.h.
| TTextureResourceHAL::TDECLARE_CLASS | ( | TTextureResourceHAL | , |
| TTexture | ) |
|
overridevirtual |
Reimplemented from TTexture.
Definition at line 75 of file TTextureResourceHAL_DX8.cpp.
|
overridevirtual |
Reimplemented from TResource.
Definition at line 393 of file TTextureResourceHAL_DX8.cpp.
|
static |
Definition at line 14 of file TTextureResourceHAL_DX8.h.