summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-06-06 03:56:10 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-06-06 03:56:10 +0000
commit186151aec243c105d8e9c0fcff6a9c342b7d168b (patch)
tree716cb5be17d6e1c2e33a413a04932743e79871f0 /Graphics/GraphicsEngine
parentReworked upload heap in Vulkan (diff)
downloadDiligentCore-186151aec243c105d8e9c0fcff6a9c342b7d168b.tar.gz
DiligentCore-186151aec243c105d8e9c0fcff6a9c342b7d168b.zip
Improvements to resource liftime management in Vulkan
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/DeviceContextBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/DeviceContextBase.h b/Graphics/GraphicsEngine/include/DeviceContextBase.h
index 8e238bc7..431ac867 100644
--- a/Graphics/GraphicsEngine/include/DeviceContextBase.h
+++ b/Graphics/GraphicsEngine/include/DeviceContextBase.h
@@ -131,6 +131,8 @@ public:
inline void ResetRenderTargets();
+ bool IsDeferred()const{return m_bIsDeferred;}
+
protected:
inline bool SetBlendFactors(const float *BlendFactors, int Dummy);