summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-06-19 15:52:56 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-06-19 15:52:56 +0000
commita44916beab60f1f86372386b0e996eb95be75aa1 (patch)
tree26ef9857c3a65b89c9a71d41260b569d4c35017c /Graphics/GraphicsEngine
parentImplemented resource names string pool for D3D backends (diff)
downloadDiligentCore-a44916beab60f1f86372386b0e996eb95be75aa1.tar.gz
DiligentCore-a44916beab60f1f86372386b0e996eb95be75aa1.zip
Fixed layout transition for depth textures in Vulkan
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/TextureViewBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/TextureViewBase.h b/Graphics/GraphicsEngine/include/TextureViewBase.h
index 0b8ddc45..25c2c436 100644
--- a/Graphics/GraphicsEngine/include/TextureViewBase.h
+++ b/Graphics/GraphicsEngine/include/TextureViewBase.h
@@ -92,6 +92,11 @@ public:
return m_pTexture;
}
+ const ITexture* GetTexture()const
+ {
+ return m_pTexture;
+ }
+
protected:
/// Strong reference to the sampler
Diligent::RefCntAutoPtr<ISampler> m_pSampler;