DirectX 8 implementation of the render interface Handles DirectX 8 specific rendering functionality and device management. More...
#include <TRenderInterface_DX8.h>
Public Types | |
| using | ThisClass = TRenderD3DInterface |
| using | BaseClass = TRenderInterface |
Public Types inherited from TRenderInterface | |
| 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 } |
Public Member Functions | |
| virtual Toshi::TClass * | GetClass () override |
| TRenderD3DInterface () | |
| ~TRenderD3DInterface () | |
| virtual TBOOL | CreateDisplay (const DISPLAYPARAMS &a_rParams) OVERRIDE |
| Creates a display with the specified parameters. | |
| virtual TBOOL | DestroyDisplay () OVERRIDE |
| Destroys the current display and releases associated resources. | |
| virtual TBOOL | Update (float a_fDeltaTime) OVERRIDE |
| Updates the render interface state. | |
| virtual TBOOL | BeginScene () OVERRIDE |
| Begins a new rendering scene. | |
| virtual TBOOL | EndScene () OVERRIDE |
| Ends the current rendering scene and presents the results. | |
| virtual TRenderAdapter::Mode::Device * | GetCurrentDevice () OVERRIDE |
| Gets the current rendering device. | |
| virtual DISPLAYPARAMS * | GetCurrentDisplayParams () OVERRIDE |
| Gets the current display parameters. | |
| virtual TBOOL | Create () OVERRIDE |
| Creates the render interface. | |
| virtual TBOOL | Destroy () OVERRIDE |
| Destroys the render interface and releases all resources. | |
| virtual void | RenderIndexPrimitive (TINT param_2, TINT param_3, TINT param_4, TINT param_5, TINT param_6, TINT param_7) OVERRIDE |
| Renders an indexed primitive. | |
| virtual float | GetPixelAspectRatio () OVERRIDE |
| Gets the pixel aspect ratio. | |
| virtual TBOOL | SetPixelAspectRatio (float a_fPixelAspectRatio) OVERRIDE |
| Sets the pixel aspect ratio. | |
| virtual void | FlushOrderTables () OVERRIDE |
| Flushes all order tables. | |
| virtual TBOOL | IsTextureFormatSupported (TINT a_eTextureFormat) OVERRIDE |
| Checks if a texture format is supported. | |
| virtual TBOOL | Supports32BitTextures () OVERRIDE |
| Checks if 32-bit textures are supported. | |
| virtual TRenderContext * | CreateRenderContext () OVERRIDE |
| Creates a new render context. | |
| virtual TRenderCapture * | CreateCapture () OVERRIDE |
| Creates a new render capture. | |
| virtual void | DestroyCapture (TRenderCapture *a_pRenderCapture) OVERRIDE |
| Destroys a render capture. | |
| virtual void * | CreateUnknown (const TCHAR *a_szName, TINT a_iUnk1, TINT a_iUnk2, TINT a_iUnk3) OVERRIDE |
| Creates an unknown object. | |
| virtual TModel * | CreateModel (TTMD *a_pTMD, TBOOL a_bLoad) OVERRIDE |
| Creates a model from a TMD file. | |
| virtual TModel * | CreateModel (const TCHAR *a_szFilePath, TBOOL a_bLoad) OVERRIDE |
| Creates a model from a file. | |
| virtual TModel * | CreateModel (const TCHAR *a_szFilePath, TBOOL a_bLoad, TTRB *a_pAssetTRB, TUINT8 a_ui8FileNameLen) OVERRIDE |
| Creates a model from a file with TRB asset. | |
| virtual void | OnInitializationFailureDevice () OVERRIDE |
| Called when device initialization fails. | |
| virtual void | OnInitializationFailureDisplay () OVERRIDE |
| Called when display initialization fails. | |
| virtual TDebugText * | CreateDebugText () OVERRIDE |
| Creates debug text. | |
| virtual void | DestroyDebugText () OVERRIDE |
| Destroys debug text. | |
| virtual TBOOL | RecreateDisplay (const DISPLAYPARAMS &a_rDisplayParams) |
| Recreates the display with new parameters. | |
| virtual void | SetContrast (TFLOAT a_fConstrast) |
| Sets the contrast value. | |
| virtual void | SetBrightness (TFLOAT a_fBrightness) |
| Sets the brightness value. | |
| virtual void | SetGamma (TFLOAT a_fGamma) |
| Sets the gamma value. | |
| virtual void | SetSaturate (TFLOAT a_fSaturate) |
| Sets the saturation value. | |
| virtual TFLOAT | GetContrast () const |
| Gets the current contrast value. | |
| virtual TFLOAT | GetBrightness () const |
| Gets the current brightness value. | |
| virtual TFLOAT | GetGamma () const |
| Gets the current gamma value. | |
| virtual TFLOAT | GetSaturate () const |
| Gets the current saturation value. | |
| virtual void | UpdateColourSettings () |
| Updates color correction settings. | |
| virtual TBOOL | IsCapableColourCorrection () |
| Checks if color correction is supported. | |
| virtual void | EnableColourCorrection (TBOOL a_bEnable) |
| Enables or disables color correction. | |
| virtual void | ForceEnableColourCorrection (TBOOL a_bEnable) |
| Forces color correction on or off. | |
| virtual TBOOL | IsColourCorrection () |
| Checks if color correction is enabled. | |
| TBOOL | IsTextureFormatSupportedImpl (D3DFORMAT a_eFormat) |
| Checks if a specific D3D format is supported. | |
| TBOOL | Create (const TCHAR *a_szWindowName) |
| Creates the render interface with a specific window name. | |
| void | BuildAdapterDatabase () |
| Builds the adapter database. | |
| void | DestroyAccelTable () |
| Destroys the accelerator table. | |
| void | CreateAccelTable () |
| Creates the accelerator table. | |
| void | GetCurrentColourRamp () |
| Gets the current color ramp. | |
| TDebugD3DText * | InitDebugText (TINT a_iBufferSize) |
| Initializes debug text. | |
| void | SetDeviceDefaultStates () |
| Sets default device states. | |
| void | SetTextureAddress (TINT a_iStage, ADDRESSINGMODE a_eAddressing, TEXCOORD a_eTextureCoordinate=TEXCOORD_UV) |
| Sets texture addressing mode. | |
| void | ClearRegion (TINT a_iX, TINT a_iY, TINT a_iWidth, TINT a_iHeight, TUINT8 a_eClearFlags, TUINT8 a_uiColorR, TUINT8 a_uiColorG, TUINT8 a_uiColorB, TFLOAT a_fZ, TUINT a_uiStencil) |
| Clears a region of the screen. | |
| void | Exit () |
| Signals the render interface to exit. | |
| void | RegisterOrderTable (TOrderTable *a_pOrderTable) |
| Registers an order table. | |
| TFORCEINLINE TMSWindow * | GetMSWindow () |
| Gets the MS window. | |
| TFORCEINLINE TPriList< TOrderTable > & | GetOrderTables () |
| Gets the order tables. | |
| TFORCEINLINE IDirect3D8 * | GetDirect3D () const |
| Gets the Direct3D interface. | |
| TFORCEINLINE IDirect3DDevice8 * | GetDirect3DDevice () const |
| Gets the Direct3D device. | |
Public Member Functions inherited from TRenderInterface | |
| TDECLARE_CLASS (TRenderInterface, TObject) | |
| TRenderInterface () | |
| virtual | ~TRenderInterface () |
| virtual void | DumpStats () |
| virtual void | GetScreenOffset (TVector2 &a_rVec) |
| virtual void | SetScreenOffset (const TVector2 &a_rVec) |
| virtual float | GetScreenAspectRatio () |
| virtual void | SetLightDirectionMatrix (const TMatrix44 &a_rMatrix) |
| virtual void | SetLightColourMatrix (const TMatrix44 &a_rMatrix) |
| virtual void | Unknown1 (TViewport *a_pViewport) |
| virtual TBOOL | CreateSystemResources () |
| virtual void | DestroySystemResources () |
| TBOOL | CreateDisplay () |
| void | DestroyResource (TResource *resource) |
| void | DestroyResourceRecurse (TResource *resource) |
| template<class T> | |
| T * | GetSystemResource (SYSRESOURCE systemResource) |
| void | SetResourceExplicit (TResource *resource, SYSRESOURCE systemResource) |
| TResource * | CreateResource (TClass *pClass, const TCHAR *name, TResource *parent) |
| TRenderContext * | SetCurrentRenderContext (TRenderContext *a_pRenderContext) |
| void | SetAutoCreateSystemResources (TBOOL a_bAutoCreate) |
| TBOOL | IsInScene () |
| TBOOL | IsCreated () |
| TBOOL | IsDisplayCreated () |
| const TMatrix44 & | GetLightDirection () const |
| const TMatrix44 & | GetLightColour () const |
| TRenderContext * | GetCurrentContext () const |
| TNodeList< TRenderAdapter > * | GetAdapterList () |
| TKeyframeLibraryManager & | GetKeyframeLibraryManager () |
| TStack< TMatrix44, 20 > & | GetTransforms () |
| TTexture * | GetInvalidTexture () |
| void | DestroyAllShaderResources () |
| void | FlushDyingResources () |
| void | DestroyDyingResources (TResource *resources) |
| void | DeleteResource (TResource *resources) |
| void | DeleteResourceRecurse (TResource *resources) |
| void | DeleteResourceAtomic (TResource *resources) |
| TRenderAdapter::Mode::Device * | FindDevice (const DISPLAYPARAMS &a_rDisplayParams) |
| void | BeginEndSceneHAL () |
Public Member Functions inherited from TObject | |
| virtual void | Delete () |
| virtual | ~TObject () |
| TBOOL | IsExactly (TClass *a_pClass) |
| TBOOL | IsA (TClass *a_pClass) |
Public Member Functions inherited from TSingleton< TRenderInterface > | |
| TSingleton (const TSingleton &)=delete | |
| TSingleton (const TSingleton &&)=delete | |
| TSingleton & | operator= (const TSingleton &)=delete |
| TSingleton & | operator= (const TSingleton &&)=delete |
Public Member Functions inherited from TRefCounted | |
| TRefCounted () | |
| ~TRefCounted () | |
| TINT | DecRefCount () |
| TINT | GetRefCount () |
| TINT | IncRefCount () |
| TRefCounted & | operator= (TRefCounted const &) |
Static Public Member Functions | |
| static Toshi::TObject * | CreateTObject () |
| static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
| static void | InitialiseClass () |
| static void | DeinitialiseClass () |
| static TFORCEINLINE Toshi::TClass * | GetClassStatic () |
| static void | FlushShaders () |
| Flushes all order tables and shaders. | |
| static TBOOL | CreateVertexShader (const DWORD *a_ShaderDeclaration, const DWORD *a_pFunction, DWORD *a_pOutVertexShader) |
| Creates a vertex shader. | |
| static void | DestroyVertexShader (DWORD a_hVertexShader) |
| Destroys a vertex shader. | |
| static TBOOL | CreatePixelShader (const DWORD *a_pFunction, DWORD *a_pOutPixelShader) |
| Creates a pixel shader. | |
| static void | DestroyPixelShader (DWORD a_hPixelShader) |
| Destroys a pixel shader. | |
| static void | PrintError (TINT32 a_eError, const TCHAR *a_szInfo) |
| Prints error text caused by some directx call. | |
| static const TCHAR * | GetErrorString (TINT32 a_eError) |
| Gets the error string for an error code. | |
| static const TCHAR * | GetErrorDescription (TINT32 a_eError) |
| Gets the error description for an error code. | |
| static TFORCEINLINE TRenderD3DInterface * | Interface () |
| Gets the render interface singleton. | |
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 () |
Public Attributes | |
| friend | TMSWindow |
Static Public Attributes | |
| static constexpr Toshi::TClass * | PARENTCLASS = & TRenderInterface::ms_oClass |
| static Toshi::TClass | ms_oClass = Toshi::TClass( "TRenderD3DInterface", TRenderD3DInterface::PARENTCLASS, TRenderD3DInterface::CreateTObject, TRenderD3DInterface::CreateTObjectInPlace, TRenderD3DInterface::InitialiseClass, TRenderD3DInterface::DeinitialiseClass, 0, 1, sizeof( TRenderD3DInterface ), alignof( TRenderD3DInterface ) ) |
Static Public Attributes inherited from TRenderInterface | |
| 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 ) ) |
DirectX 8 implementation of the render interface Handles DirectX 8 specific rendering functionality and device management.
Definition at line 17 of file TRenderInterface_DX8.h.
Definition at line 20 of file TRenderInterface_DX8.h.
Definition at line 20 of file TRenderInterface_DX8.h.
| TRenderD3DInterface::TRenderD3DInterface | ( | ) |
Definition at line 42 of file TRenderInterface_DX8.cpp.
| TRenderD3DInterface::~TRenderD3DInterface | ( | ) |
Definition at line 70 of file TRenderInterface_DX8.cpp.
|
virtual |
Begins a new rendering scene.
Reimplemented from TRenderInterface.
Definition at line 255 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::BuildAdapterDatabase | ( | ) |
Builds the adapter database.
Definition at line 921 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::ClearRegion | ( | TINT | a_iX, |
| TINT | a_iY, | ||
| TINT | a_iWidth, | ||
| TINT | a_iHeight, | ||
| TUINT8 | a_eClearFlags, | ||
| TUINT8 | a_uiColorR, | ||
| TUINT8 | a_uiColorG, | ||
| TUINT8 | a_uiColorB, | ||
| TFLOAT | a_fZ, | ||
| TUINT | a_uiStencil ) |
Clears a region of the screen.
| a_iX | X position |
| a_iY | Y position |
| a_iWidth | Width |
| a_iHeight | Height |
| a_eClearFlags | Clear flags |
| a_uiColorR | Red component |
| a_uiColorG | Green component |
| a_uiColorB | Blue component |
| a_fZ | Z value |
| a_uiStencil | Stencil value |
Definition at line 792 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates the render interface.
Reimplemented from TRenderInterface.
Definition at line 344 of file TRenderInterface_DX8.cpp.
Creates the render interface with a specific window name.
| a_szWindowName | Name of the window |
Definition at line 884 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::CreateAccelTable | ( | ) |
Creates the accelerator table.
Definition at line 962 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates a new render capture.
Implements TRenderInterface.
Definition at line 498 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates debug text.
Implements TRenderInterface.
Definition at line 568 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates a display with the specified parameters.
| a_rParams | Display parameters including resolution, color depth, etc. |
Reimplemented from TRenderInterface.
Definition at line 78 of file TRenderInterface_DX8.cpp.
Creates a model from a file.
| a_szFilePath | Path to the model file |
| a_bLoad | Whether to load the model immediately |
Implements TRenderInterface.
Definition at line 534 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates a model from a file with TRB asset.
| a_szFilePath | Path to the model file |
| a_bLoad | Whether to load the model immediately |
| a_pAssetTRB | Pointer to the TRB asset |
| a_ui8FileNameLen | Length of the filename |
Implements TRenderInterface.
Definition at line 551 of file TRenderInterface_DX8.cpp.
Creates a model from a TMD file.
| a_pTMD | Pointer to the TMD data |
| a_bLoad | Whether to load the model immediately |
Implements TRenderInterface.
Definition at line 517 of file TRenderInterface_DX8.cpp.
|
static |
Creates a pixel shader.
| a_pFunction | Shader function |
| a_pOutPixelShader | Output pixel shader handle |
Definition at line 389 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates a new render context.
Implements TRenderInterface.
Definition at line 492 of file TRenderInterface_DX8.cpp.
|
static |
Definition at line 26 of file TRenderInterface_DX8.cpp.
|
static |
Definition at line 26 of file TRenderInterface_DX8.cpp.
|
virtual |
Creates an unknown object.
| a_szName | Name of the object |
| a_iUnk1 | Unknown parameter 1 |
| a_iUnk2 | Unknown parameter 2 |
| a_iUnk3 | Unknown parameter 3 |
Implements TRenderInterface.
Definition at line 511 of file TRenderInterface_DX8.cpp.
|
static |
Creates a vertex shader.
| a_ShaderDeclaration | Shader declaration |
| a_pFunction | Shader function |
| a_pOutVertexShader | Output vertex shader handle |
Definition at line 360 of file TRenderInterface_DX8.cpp.
|
static |
Definition at line 26 of file TRenderInterface_DX8.cpp.
|
virtual |
Destroys the render interface and releases all resources.
Reimplemented from TRenderInterface.
Definition at line 431 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::DestroyAccelTable | ( | ) |
Destroys the accelerator table.
Definition at line 952 of file TRenderInterface_DX8.cpp.
|
virtual |
Destroys a render capture.
| a_pRenderCapture | The render capture to destroy |
Implements TRenderInterface.
Definition at line 504 of file TRenderInterface_DX8.cpp.
|
virtual |
Destroys debug text.
Implements TRenderInterface.
Definition at line 575 of file TRenderInterface_DX8.cpp.
|
virtual |
Destroys the current display and releases associated resources.
Implements TRenderInterface.
Definition at line 224 of file TRenderInterface_DX8.cpp.
|
static |
Destroys a pixel shader.
| a_hPixelShader | Pixel shader handle to destroy |
Definition at line 406 of file TRenderInterface_DX8.cpp.
|
static |
Destroys a vertex shader.
| a_hVertexShader | Vertex shader handle to destroy |
Definition at line 382 of file TRenderInterface_DX8.cpp.
|
virtual |
Enables or disables color correction.
| a_bEnable | Whether to enable color correction |
Definition at line 685 of file TRenderInterface_DX8.cpp.
|
virtual |
Ends the current rendering scene and presents the results.
Implements TRenderInterface.
Definition at line 293 of file TRenderInterface_DX8.cpp.
|
inline |
Signals the render interface to exit.
Definition at line 361 of file TRenderInterface_DX8.h.
|
virtual |
Flushes all order tables.
Reimplemented from TRenderInterface.
Definition at line 481 of file TRenderInterface_DX8.cpp.
|
static |
Flushes all order tables and shaders.
Definition at line 350 of file TRenderInterface_DX8.cpp.
|
virtual |
Forces color correction on or off.
| a_bEnable | Whether to force color correction on |
Definition at line 691 of file TRenderInterface_DX8.cpp.
|
virtual |
Gets the current brightness value.
Definition at line 644 of file TRenderInterface_DX8.cpp.
|
overridevirtual |
Reimplemented from TObject.
Definition at line 26 of file TRenderInterface_DX8.cpp.
|
inlinestatic |
Definition at line 20 of file TRenderInterface_DX8.h.
|
virtual |
Gets the current contrast value.
Definition at line 638 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::GetCurrentColourRamp | ( | ) |
Gets the current color ramp.
Definition at line 715 of file TRenderInterface_DX8.cpp.
|
virtual |
Gets the current rendering device.
Implements TRenderInterface.
Definition at line 332 of file TRenderInterface_DX8.cpp.
|
virtual |
Gets the current display parameters.
Implements TRenderInterface.
Definition at line 338 of file TRenderInterface_DX8.cpp.
|
inline |
Gets the Direct3D interface.
Definition at line 385 of file TRenderInterface_DX8.h.
|
inline |
Gets the Direct3D device.
Definition at line 391 of file TRenderInterface_DX8.h.
Gets the error description for an error code.
| a_eError | Error code |
Definition at line 983 of file TRenderInterface_DX8.cpp.
Gets the error string for an error code.
| a_eError | Error code |
Definition at line 977 of file TRenderInterface_DX8.cpp.
|
virtual |
Gets the current gamma value.
Definition at line 650 of file TRenderInterface_DX8.cpp.
|
inline |
Gets the MS window.
Definition at line 373 of file TRenderInterface_DX8.h.
|
inline |
Gets the order tables.
Definition at line 379 of file TRenderInterface_DX8.h.
|
virtual |
Gets the pixel aspect ratio.
Reimplemented from TRenderInterface.
Definition at line 468 of file TRenderInterface_DX8.cpp.
|
virtual |
Gets the current saturation value.
Definition at line 656 of file TRenderInterface_DX8.cpp.
| TDebugD3DText * TRenderD3DInterface::InitDebugText | ( | TINT | a_iBufferSize | ) |
Initializes debug text.
| a_iBufferSize | Size of the buffer |
Definition at line 726 of file TRenderInterface_DX8.cpp.
|
static |
Definition at line 26 of file TRenderInterface_DX8.cpp.
|
inlinestatic |
Gets the render interface singleton.
Definition at line 453 of file TRenderInterface_DX8.h.
|
virtual |
Checks if color correction is supported.
Definition at line 672 of file TRenderInterface_DX8.cpp.
|
virtual |
Checks if color correction is enabled.
Definition at line 697 of file TRenderInterface_DX8.cpp.
Checks if a texture format is supported.
| a_eTextureFormat | The texture format to check |
Reimplemented from TRenderInterface.
Definition at line 820 of file TRenderInterface_DX8.cpp.
| TBOOL TRenderD3DInterface::IsTextureFormatSupportedImpl | ( | D3DFORMAT | a_eFormat | ) |
Checks if a specific D3D format is supported.
| a_eFormat | The D3D format to check |
Definition at line 838 of file TRenderInterface_DX8.cpp.
|
virtual |
Called when device initialization fails.
Reimplemented from TRenderInterface.
Definition at line 861 of file TRenderInterface_DX8.cpp.
|
virtual |
Called when display initialization fails.
Reimplemented from TRenderInterface.
Definition at line 872 of file TRenderInterface_DX8.cpp.
Prints error text caused by some directx call.
| a_eError | Error code |
| a_szInfo | Additional error information |
Definition at line 414 of file TRenderInterface_DX8.cpp.
|
virtual |
Recreates the display with new parameters.
| a_rDisplayParams | New display parameters |
Definition at line 585 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::RegisterOrderTable | ( | TOrderTable * | a_pOrderTable | ) |
Registers an order table.
| a_pOrderTable | The order table to register |
Definition at line 988 of file TRenderInterface_DX8.cpp.
|
virtual |
Renders an indexed primitive.
| param_2 | First parameter |
| param_3 | Second parameter |
| param_4 | Third parameter |
| param_5 | Fourth parameter |
| param_6 | Fifth parameter |
| param_7 | Sixth parameter |
Reimplemented from TRenderInterface.
Definition at line 462 of file TRenderInterface_DX8.cpp.
|
virtual |
Sets the brightness value.
| a_fBrightness | New brightness value (0.0-1.0) |
Definition at line 614 of file TRenderInterface_DX8.cpp.
|
virtual |
Sets the contrast value.
| a_fConstrast | New contrast value (0.0-1.0) |
Definition at line 606 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::SetDeviceDefaultStates | ( | ) |
Sets default device states.
Definition at line 734 of file TRenderInterface_DX8.cpp.
|
virtual |
Sets the gamma value.
| a_fGamma | New gamma value (0.0-1.0) |
Definition at line 622 of file TRenderInterface_DX8.cpp.
|
virtual |
Sets the pixel aspect ratio.
| a_fPixelAspectRatio | The new pixel aspect ratio |
Reimplemented from TRenderInterface.
Definition at line 474 of file TRenderInterface_DX8.cpp.
|
virtual |
Sets the saturation value.
| a_fSaturate | New saturation value (0.0-1.0) |
Definition at line 630 of file TRenderInterface_DX8.cpp.
| void TRenderD3DInterface::SetTextureAddress | ( | TINT | a_iStage, |
| ADDRESSINGMODE | a_eAddressing, | ||
| TEXCOORD | a_eTextureCoordinate = TEXCOORD_UV ) |
Sets texture addressing mode.
| a_iStage | Texture stage |
| a_eAddressing | Addressing type |
| a_eTextureCoordinate | Texture coordinate (U or V) |
Definition at line 750 of file TRenderInterface_DX8.cpp.
|
virtual |
Checks if 32-bit textures are supported.
Reimplemented from TRenderInterface.
Definition at line 855 of file TRenderInterface_DX8.cpp.
|
virtual |
Updates the render interface state.
| a_fDeltaTime | Time elapsed since last update |
Implements TRenderInterface.
Definition at line 246 of file TRenderInterface_DX8.cpp.
|
virtual |
Updates color correction settings.
Definition at line 662 of file TRenderInterface_DX8.cpp.
|
static |
Definition at line 20 of file TRenderInterface_DX8.h.
|
staticconstexpr |
Definition at line 20 of file TRenderInterface_DX8.h.
| friend TRenderD3DInterface::TMSWindow |
Definition at line 22 of file TRenderInterface_DX8.h.