Class StructArrayPool
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
A pool contains various of binary buffers defined by struct size.
public sealed class StructArrayPool : DisposeObject, IStructArrayPool, IDisposable
- Inheritance
-
StructArrayPool
- Implements
- Inherited Members
Constructors
StructArrayPool()
public StructArrayPool()
Methods
OnDispose(bool)
Disposes of object resources.
protected override void OnDispose(bool disposeManagedResources)
Parameters
disposeManagedResourcesboolIf true, managed resources should be disposed of in addition to unmanaged resources.
Register(int)
public ArrayStorage? Register(int structSize)
Parameters
structSizeint