Table of Contents

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

device Device

The device.

Methods

CanCreate(ref DepthStencilStateDescription, ref DepthStencilStateDescription)

protected override bool CanCreate(ref DepthStencilStateDescription key, ref DepthStencilStateDescription argument)

Parameters

key DepthStencilStateDescription
argument DepthStencilStateDescription

Returns

bool

OnCreate(ref DepthStencilStateDescription, ref DepthStencilStateDescription)

protected override DepthStencilStateProxy OnCreate(ref DepthStencilStateDescription key, ref DepthStencilStateDescription description)

Parameters

key DepthStencilStateDescription
description DepthStencilStateDescription

Returns

DepthStencilStateProxy