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