Table of Contents

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

device Device

The 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

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.

Register(BlendStateDescription)

Registers the specified desc.

public BlendStateProxy? Register(BlendStateDescription desc)

Parameters

desc BlendStateDescription

The desc.

Returns

BlendStateProxy

Register(DepthStencilStateDescription)

Registers the specified desc.

public DepthStencilStateProxy? Register(DepthStencilStateDescription desc)

Parameters

desc DepthStencilStateDescription

The desc.

Returns

DepthStencilStateProxy

Register(RasterizerStateDescription)

Registers the specified desc.

public RasterizerStateProxy? Register(RasterizerStateDescription desc)

Parameters

desc RasterizerStateDescription

The desc.

Returns

RasterizerStateProxy

Register(SamplerStateDescription)

Registers the specified desc.

public SamplerStateProxy? Register(SamplerStateDescription desc)

Parameters

desc SamplerStateDescription

The desc.

Returns

SamplerStateProxy