From a44916beab60f1f86372386b0e996eb95be75aa1 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 19 Jun 2018 08:52:56 -0700 Subject: Fixed layout transition for depth textures in Vulkan --- Graphics/GraphicsEngine/include/TextureViewBase.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Graphics/GraphicsEngine') 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 m_pSampler; -- cgit v1.2.3