Table of Contents

Class BlendStatePool

Namespace
HelixToolkit.SharpDX.ShaderManager
Assembly
HelixToolkit.SharpDX.dll
public sealed class BlendStatePool : ReferenceCountedDictionaryPool<BlendStateDescription, BlendStateProxy, BlendStateDescription>, IDisposable
Inheritance
ReferenceCountedDictionaryPool<BlendStateDescription, BlendStateProxy, BlendStateDescription>
BlendStatePool
Implements
Inherited Members

Constructors

BlendStatePool(Device)

Initializes a new instance of the BlendStatePool class.

public BlendStatePool(Device device)

Parameters

device Device

The device.

Methods

CanCreate(ref BlendStateDescription, ref BlendStateDescription)

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

Parameters

key BlendStateDescription
argument BlendStateDescription

Returns

bool

OnCreate(ref BlendStateDescription, ref BlendStateDescription)

protected override BlendStateProxy OnCreate(ref BlendStateDescription key, ref BlendStateDescription description)

Parameters

key BlendStateDescription
description BlendStateDescription

Returns

BlendStateProxy