Table of Contents

Class SamplerStatePool

Namespace
HelixToolkit.SharpDX.ShaderManager
Assembly
HelixToolkit.SharpDX.dll
public sealed class SamplerStatePool : ReferenceCountedDictionaryPool<SamplerStateDescription, SamplerStateProxy, SamplerStateDescription>, IDisposable
Inheritance
ReferenceCountedDictionaryPool<SamplerStateDescription, SamplerStateProxy, SamplerStateDescription>
SamplerStatePool
Implements
Inherited Members

Constructors

SamplerStatePool(Device)

Initializes a new instance of the SamplerStatePool class.

public SamplerStatePool(Device device)

Parameters

device Device

The device.

Methods

CanCreate(ref SamplerStateDescription, ref SamplerStateDescription)

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

Parameters

key SamplerStateDescription
argument SamplerStateDescription

Returns

bool

OnCreate(ref SamplerStateDescription, ref SamplerStateDescription)

protected override SamplerStateProxy OnCreate(ref SamplerStateDescription key, ref SamplerStateDescription description)

Parameters

key SamplerStateDescription
description SamplerStateDescription

Returns

SamplerStateProxy