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