Class SamplerStatePool
- Namespace
- HelixToolkit.SharpDX.ShaderManager
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class SamplerStatePool : ReferenceCountedDictionaryPool<SamplerStateDescription, SamplerStateProxy, SamplerStateDescription>, IDisposable
- Inheritance
-
SamplerStatePool
- Implements
- Inherited Members
Constructors
SamplerStatePool(Device)
Initializes a new instance of the SamplerStatePool class.
public SamplerStatePool(Device device)
Parameters
deviceDeviceThe device.
Methods
CanCreate(ref SamplerStateDescription, ref SamplerStateDescription)
protected override bool CanCreate(ref SamplerStateDescription key, ref SamplerStateDescription argument)
Parameters
keySamplerStateDescriptionargumentSamplerStateDescription
Returns
OnCreate(ref SamplerStateDescription, ref SamplerStateDescription)
protected override SamplerStateProxy OnCreate(ref SamplerStateDescription key, ref SamplerStateDescription description)
Parameters
keySamplerStateDescriptiondescriptionSamplerStateDescription