![]() |
Rise
The Vieneo Province
|
#include <DeviceObject.h>
Public Member Functions | |
| HRESULT | BeginSprites () const |
| DeviceObject (Rendering::RenderDevice *prmPd3dDevice, Logger *prmLogger) | |
| ~DeviceObject () | |
| Rendering::RenderTexture * | GetTextureSRV (std::string pathAndFilename) |
| void | Evict (std::string pathAndFilename) |
| void | OnLostDevice () const |
| void | OnResetDevice () const |
| HRESULT | SetRenderState (DWORD renderStateType, int value) const |
| HRESULT | SetSamplerState (int level, DWORD samplerrStateType, DWORD value) const |
| HRESULT | SetScissorRect (RECT *rect) const |
| HRESULT | GetScissorRect (RECT *rect) const |
| Rendering::RenderDevice * | GetD3DDevice () |
Public Attributes | |
| Rendering::RenderSprite * | pSprite = nullptr |
Private Attributes | |
| Rendering::RenderDevice * | pd3dDevice = nullptr |
| Logger * | logger |
| std::vector< Rendering::RenderTexture * > | textureSRV |
| std::vector< std::string > | files |
| bool | hasSprite = false |
Definition at line 7 of file DeviceObject.h.
| DeviceObject::DeviceObject | ( | Rendering::RenderDevice * | prmPd3dDevice, |
| Logger * | prmLogger ) |
Definition at line 3 of file DeviceObject.cpp.
| DeviceObject::~DeviceObject | ( | ) |
|
inline |
Definition at line 23 of file DeviceObject.h.
| void DeviceObject::Evict | ( | std::string | pathAndFilename | ) |
Definition at line 74 of file DeviceObject.cpp.
|
inline |
| HRESULT DeviceObject::GetScissorRect | ( | RECT * | rect | ) | const |
Definition at line 53 of file DeviceObject.cpp.
| Rendering::RenderTexture * DeviceObject::GetTextureSRV | ( | std::string | pathAndFilename | ) |
need to loop through files (good) or crc (best) to find if we already have the texture resource loaded
Definition at line 89 of file DeviceObject.cpp.
| void DeviceObject::OnLostDevice | ( | ) | const |
Definition at line 61 of file DeviceObject.cpp.
| void DeviceObject::OnResetDevice | ( | ) | const |
Definition at line 22 of file DeviceObject.cpp.
Definition at line 35 of file DeviceObject.cpp.
| HRESULT DeviceObject::SetScissorRect | ( | RECT * | rect | ) | const |
Definition at line 47 of file DeviceObject.cpp.
|
private |
Definition at line 16 of file DeviceObject.h.
|
private |
Definition at line 17 of file DeviceObject.h.
|
private |
Definition at line 11 of file DeviceObject.h.
|
private |
Definition at line 10 of file DeviceObject.h.
| Rendering::RenderSprite* DeviceObject::pSprite = nullptr |
Definition at line 21 of file DeviceObject.h.
|
private |
Definition at line 15 of file DeviceObject.h.