summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
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;