diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-06-19 15:52:56 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-06-19 15:52:56 +0000 |
| commit | a44916beab60f1f86372386b0e996eb95be75aa1 (patch) | |
| tree | 26ef9857c3a65b89c9a71d41260b569d4c35017c /Graphics/GraphicsEngine | |
| parent | Implemented resource names string pool for D3D backends (diff) | |
| download | DiligentCore-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.h | 5 |
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; |
