#include <TRenderInterface.h>
Classes | |
| struct | DISPLAYPARAMS |
Public Types | |
| enum | ASPECT_RATIO_ : ASPECT_RATIO { ASPECT_RATIO_4_3 , ASPECT_RATIO_16_9 } |
| typedef TUINT32 | ASPECT_RATIO |
Public Types inherited from TObject | |
| enum | { IsTObject = TTRUE } |
Static Public Attributes | |
| static constexpr size_t | MAXNUMRESOURCES = 6000 |
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 ) ) |
Protected Attributes | |
| TBOOL | m_bCreateSystemResources |
| TBOOL | m_bInScene |
| TBOOL | m_bCreated = false |
| TBOOL | m_bDisplayCreated |
| TVector2 | m_ScreenOffset |
| TRenderContext * | m_pCurrentContext |
| TRenderContext * | m_pCreatedContext |
| TResource * | m_SystemResources [SYSRESOURCE_NUMOF] |
| TMatrix44 | m_LightDirection |
| TMatrix44 | m_LightColour |
| TDebugText * | m_pDebugText |
| void * | m_Unk2 |
| TTexture * | m_pInvalidTexture |
| TNodeList< TRenderAdapter > | m_AdapterList |
| TNodeTree< TResource > | m_Resources |
| TUINT32 | m_ResourceCount = 0 |
| TUINT32 | m_iFrameCount = 0 |
| TBOOL | m_bHasDyingResources |
| TKeyframeLibraryManager | m_KeyframeManager |
| TGenericEmitter | m_BeginSceneEmitter |
| TGenericEmitter | m_EndSceneEmitter |
| TStack< TMatrix44, 20 > | m_Transforms |
Protected Attributes inherited from TRefCounted | |
| TINT | m_iRefCount |
Additional Inherited Members | |
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 Member Functions inherited from TSingleton< TRenderInterface > | |
| static TFORCEINLINE TRenderInterface * | CreateSingleton (Args &&... args) |
| static TFORCEINLINE D * | CreateSingleton (Args &&... args) |
| static TFORCEINLINE void | DestroySingleton () |
| static TFORCEINLINE TRenderInterface * | GetSingletonSafe () |
| static TFORCEINLINE TBOOL | IsSingletonCreated () |
| static TFORCEINLINE TRenderInterface * | GetSingleton () |
Protected Member Functions inherited from TSingleton< TRenderInterface > | |
| TFORCEINLINE | TSingleton () |
| TFORCEINLINE | ~TSingleton () |
Static Protected Attributes inherited from TSingleton< TRenderInterface > | |
| static TRenderInterface * | ms_pSingleton |
Definition at line 31 of file TRenderInterface.h.
Definition at line 42 of file TRenderInterface.h.
| Enumerator | |
|---|---|
| ASPECT_RATIO_4_3 | |
| ASPECT_RATIO_16_9 | |
Definition at line 43 of file TRenderInterface.h.
| TRenderInterface::TRenderInterface | ( | ) |
Definition at line 15 of file TRenderInterface.cpp.
|
virtual |
Definition at line 51 of file TRenderInterface.cpp.
| void TRenderInterface::BeginEndSceneHAL | ( | ) |
Definition at line 30 of file TRenderInterface_DX8.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 112 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 55 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
| TBOOL TRenderInterface::CreateDisplay | ( | ) |
Definition at line 97 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 106 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
| TResource * TRenderInterface::CreateResource | ( | TClass * | pClass, |
| const TCHAR * | name, | ||
| TResource * | parent ) |
Definition at line 169 of file TRenderInterface.cpp.
|
virtual |
Definition at line 289 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
| void TRenderInterface::DeleteResource | ( | TResource * | resources | ) |
Definition at line 357 of file TRenderInterface.cpp.
| void TRenderInterface::DeleteResourceAtomic | ( | TResource * | resources | ) |
Definition at line 375 of file TRenderInterface.cpp.
| void TRenderInterface::DeleteResourceRecurse | ( | TResource * | resources | ) |
Definition at line 363 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 71 of file TRenderInterface.cpp.
| void TRenderInterface::DestroyAllShaderResources | ( | ) |
Definition at line 300 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
| void TRenderInterface::DestroyDyingResources | ( | TResource * | resources | ) |
Definition at line 305 of file TRenderInterface.cpp.
| void TRenderInterface::DestroyResource | ( | TResource * | resource | ) |
Definition at line 120 of file TRenderInterface.cpp.
| void TRenderInterface::DestroyResourceRecurse | ( | TResource * | resource | ) |
Definition at line 134 of file TRenderInterface.cpp.
|
virtual |
Definition at line 294 of file TRenderInterface.cpp.
|
virtual |
Definition at line 197 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
| TRenderAdapter::Mode::Device * TRenderInterface::FindDevice | ( | const DISPLAYPARAMS & | a_rDisplayParams | ) |
Definition at line 401 of file TRenderInterface.cpp.
| void TRenderInterface::FlushDyingResources | ( | ) |
Definition at line 484 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 253 of file TRenderInterface.cpp.
|
inline |
Definition at line 137 of file TRenderInterface.h.
|
inline |
Definition at line 136 of file TRenderInterface.h.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
inline |
Definition at line 140 of file TRenderInterface.h.
|
inline |
Definition at line 138 of file TRenderInterface.h.
|
inline |
Definition at line 134 of file TRenderInterface.h.
|
inline |
Definition at line 133 of file TRenderInterface.h.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 243 of file TRenderInterface.cpp.
|
virtual |
Definition at line 238 of file TRenderInterface.cpp.
|
virtual |
Definition at line 228 of file TRenderInterface.cpp.
|
inline |
Definition at line 109 of file TRenderInterface.h.
Definition at line 139 of file TRenderInterface.h.
|
inline |
Definition at line 130 of file TRenderInterface.h.
|
inline |
Definition at line 131 of file TRenderInterface.h.
|
inline |
Definition at line 129 of file TRenderInterface.h.
Reimplemented in TRenderD3DInterface.
Definition at line 257 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 281 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 285 of file TRenderInterface.cpp.
|
inline |
Definition at line 127 of file TRenderInterface.h.
|
inline |
Definition at line 122 of file TRenderInterface.h.
|
virtual |
Definition at line 272 of file TRenderInterface.cpp.
|
virtual |
Definition at line 267 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 248 of file TRenderInterface.cpp.
| void TRenderInterface::SetResourceExplicit | ( | TResource * | resource, |
| SYSRESOURCE | systemResource ) |
Definition at line 162 of file TRenderInterface.cpp.
|
virtual |
Definition at line 233 of file TRenderInterface.cpp.
|
virtual |
Reimplemented in TRenderD3DInterface.
Definition at line 262 of file TRenderInterface.cpp.
| TRenderInterface::TDECLARE_CLASS | ( | TRenderInterface | , |
| TObject | ) |
|
virtual |
Definition at line 277 of file TRenderInterface.cpp.
|
pure virtual |
Implemented in TRenderD3DInterface.
|
protected |
Definition at line 170 of file TRenderInterface.h.
|
protected |
Definition at line 159 of file TRenderInterface.h.
|
protected |
Definition at line 157 of file TRenderInterface.h.
|
protected |
Definition at line 160 of file TRenderInterface.h.
|
protected |
Definition at line 176 of file TRenderInterface.h.
|
protected |
Definition at line 174 of file TRenderInterface.h.
|
protected |
Definition at line 158 of file TRenderInterface.h.
|
protected |
Definition at line 177 of file TRenderInterface.h.
|
protected |
Definition at line 173 of file TRenderInterface.h.
|
protected |
Definition at line 175 of file TRenderInterface.h.
|
protected |
Definition at line 166 of file TRenderInterface.h.
|
protected |
Definition at line 165 of file TRenderInterface.h.
|
protected |
Definition at line 163 of file TRenderInterface.h.
|
protected |
Definition at line 162 of file TRenderInterface.h.
|
protected |
Definition at line 167 of file TRenderInterface.h.
|
protected |
Definition at line 169 of file TRenderInterface.h.
|
protected |
Definition at line 172 of file TRenderInterface.h.
Definition at line 171 of file TRenderInterface.h.
|
protected |
Definition at line 161 of file TRenderInterface.h.
|
protected |
Definition at line 164 of file TRenderInterface.h.
Definition at line 178 of file TRenderInterface.h.
|
protected |
Definition at line 168 of file TRenderInterface.h.
|
staticconstexpr |
Definition at line 40 of file TRenderInterface.h.