Diligent Engine API Reference
|
Texture sampler interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual const SamplerDesc & | GetDesc () const =0 |
Returns the sampler description used to create the object. | |
![]() | |
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
Texture sampler interface.
The interface holds the sampler state that can be used to perform texture filtering. To create a sampler, call IRenderDevice::CreateSampler(). To use a sampler, call ITextureView::SetSampler().