summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-04 16:50:09 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-04 16:50:09 +0000
commita3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c (patch)
tree8aa9b14d95131ffb70537dc23271740eca3097af /Graphics/GraphicsEngineD3D11
parentSetting debug names of D3D11 objects (diff)
downloadDiligentCore-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.h2
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};}