diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-10-04 16:50:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-10-04 16:50:09 +0000 |
| commit | a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c (patch) | |
| tree | 8aa9b14d95131ffb70537dc23271740eca3097af /Graphics/GraphicsEngineD3D11 | |
| parent | Setting debug names of D3D11 objects (diff) | |
| download | DiligentCore-a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c.tar.gz DiligentCore-a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c.zip | |
Added ReleaseStaleResources() to IRenderDevice interface + a bunch of minor chnages
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/RenderDeviceD3D11Impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/RenderDeviceD3D11Impl.h b/Graphics/GraphicsEngineD3D11/include/RenderDeviceD3D11Impl.h index 18744e07..9629a182 100644 --- a/Graphics/GraphicsEngineD3D11/include/RenderDeviceD3D11Impl.h +++ b/Graphics/GraphicsEngineD3D11/include/RenderDeviceD3D11Impl.h @@ -66,6 +66,8 @@ public: virtual void CreateTextureFromD3DResource(ID3D11Texture2D* pd3d11Texture, ITexture** ppTexture)override final; virtual void CreateTextureFromD3DResource(ID3D11Texture3D* pd3d11Texture, ITexture** ppTexture)override final; + virtual void ReleaseStaleResources(bool ForceRelease = false)override final {} + size_t GetCommandQueueCount()const { return 1; } Uint64 GetCommandQueueMask()const { return Uint64{1};} |
