29 #include "TextureView.h" 30 #include "DeviceObjectBase.h" 31 #include "RefCntAutoPtr.h" 32 #include "GraphicsAccessories.h" 41 template<
class BaseInterface>
59 bool bIsDefaultView ) :
69 IMPLEMENT_QUERY_INTERFACE_IN_PLACE( IID_TextureView, TDeviceObjectBase )
ITexture * m_pTexture
Raw pointer to the texture.
Definition: TextureViewBase.h:95
Render device interface.
Definition: RenderDevice.h:55
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
virtual ITexture * GetTexture() override final
Implementation of ITextureView::GetTexture()
Definition: TextureViewBase.h:85
virtual ISampler * GetSampler() override final
Implementation of ITextureView::GetSampler()
Definition: TextureViewBase.h:79
Template class implementing base functionality for a texture view interface.
Definition: TextureViewBase.h:42
virtual void SetSampler(class ISampler *pSampler) override final
Implementation of ITextureView::SetSampler()
Definition: TextureViewBase.h:72
TextureViewBase(IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureViewDesc &ViewDesc, class ITexture *pTexture, bool bIsDefaultView)
Definition: TextureViewBase.h:55
Diligent::RefCntAutoPtr< ISampler > m_pSampler
Strong reference to the sampler.
Definition: TextureViewBase.h:92
Texture view description.
Definition: TextureView.h:55
TEXTURE_VIEW_TYPE ViewType
Describes the texture view type, see Diligent::TEXTURE_VIEW_TYPE for details.
Definition: TextureView.h:58
TextureViewDesc m_Desc
Object description.
Definition: DeviceObjectBase.h:138
Template class that implements reference counting.
Definition: RefCntAutoPtr.h:71
Texture sampler interface.
Definition: Sampler.h:180
Diligent::RefCntAutoPtr< ITexture > m_spTexture
Strong reference to the texture. Used for non-default views to keep the texture alive.
Definition: TextureViewBase.h:99
A texture view will define a shader resource view that will be used as the source for the shader read...
Definition: GraphicsTypes.h:197
Template class implementing base functionality for a device object.
Definition: DeviceObjectBase.h:42
Texture inteface.
Definition: Texture.h:276