Table of Contents

Interface IConstantBufferPool

Namespace
HelixToolkit.SharpDX.ShaderManager
Assembly
HelixToolkit.SharpDX.dll

Pool to store and share constant buffers. Do not dispose constant buffer object externally.

public interface IConstantBufferPool : IDisposable
Inherited Members

Properties

Count

Gets the count.

int Count { get; }

Property Value

int

The count.

Device

Gets the device.

Device Device { get; }

Property Value

Device

The device.

Methods

Register(ConstantBufferDescription)

Registers the specified description.

ConstantBufferProxy? Register(ConstantBufferDescription description)

Parameters

description ConstantBufferDescription

The description.

Returns

ConstantBufferProxy

Register(string, int)

Registers the specified name.

ConstantBufferProxy? Register(string name, int structSize)

Parameters

name string

The name.

structSize int

Size of the structure.

Returns

ConstantBufferProxy