Class StatePoolManager
- Namespace
- HelixToolkit.SharpDX.ShaderManager
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class StatePoolManager : DisposeObject, IStatePoolManager, IDisposable
- Inheritance
-
StatePoolManager
- Implements
- Inherited Members
Constructors
StatePoolManager(Device)
Initializes a new instance of the StatePoolManager class.
public StatePoolManager(Device device)
Parameters
deviceDeviceThe device.
Properties
BlendStatePool
Gets or sets the blend state pool.
public BlendStatePool BlendStatePool { get; }
Property Value
- BlendStatePool
The blend state pool.
DepthStencilStatePool
Gets or sets the depth stencil state pool.
public DepthStencilStatePool DepthStencilStatePool { get; }
Property Value
- DepthStencilStatePool
The depth stencil state pool.
RasterStatePool
Gets or sets the raster state pool.
public RasterStatePool RasterStatePool { get; }
Property Value
- RasterStatePool
The raster state pool.
SamplerStatePool
Gets or sets the sampler state pool.
public SamplerStatePool SamplerStatePool { get; }
Property Value
- SamplerStatePool
The sampler state pool.
Methods
OnDispose(bool)
Disposes of object resources.
protected override void OnDispose(bool disposeManagedResources)
Parameters
disposeManagedResourcesboolIf true, managed resources should be disposed of in addition to unmanaged resources.
Register(BlendStateDescription)
Registers the specified desc.
public BlendStateProxy? Register(BlendStateDescription desc)
Parameters
descBlendStateDescriptionThe desc.
Returns
Register(DepthStencilStateDescription)
Registers the specified desc.
public DepthStencilStateProxy? Register(DepthStencilStateDescription desc)
Parameters
descDepthStencilStateDescriptionThe desc.
Returns
Register(RasterizerStateDescription)
Registers the specified desc.
public RasterizerStateProxy? Register(RasterizerStateDescription desc)
Parameters
descRasterizerStateDescriptionThe desc.
Returns
Register(SamplerStateDescription)
Registers the specified desc.
public SamplerStateProxy? Register(SamplerStateDescription desc)
Parameters
descSamplerStateDescriptionThe desc.