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
descriptionConstantBufferDescriptionThe description.
Returns
Register(string, int)
Registers the specified name.
ConstantBufferProxy? Register(string name, int structSize)