Table of Contents

Class ShaderPoolManager

Namespace
HelixToolkit.SharpDX.ShaderManager
Assembly
HelixToolkit.SharpDX.dll
public class ShaderPoolManager : DisposeObject, IShaderPoolManager, IDisposable
Inheritance
ShaderPoolManager
Implements
Inherited Members

Constructors

ShaderPoolManager(Device, IConstantBufferPool)

Initializes a new instance of the ShaderPoolManager class.

public ShaderPoolManager(Device device, IConstantBufferPool cbPool)

Parameters

device Device

The device.

cbPool IConstantBufferPool

The cb pool.

Methods

OnDispose(bool)

Called when [dispose].

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

if set to true [dispose managed resources].

RegisterInputLayout(InputLayoutDescription?)

Registers the input layout.

public InputLayoutProxy? RegisterInputLayout(InputLayoutDescription? description)

Parameters

description InputLayoutDescription

The description.

Returns

InputLayoutProxy

RegisterShader(ShaderDescription?)

Registers the shader.

public ShaderBase? RegisterShader(ShaderDescription? description)

Parameters

description ShaderDescription

The description.

Returns

ShaderBase