 |
DynamicMemoryBlockT Class |
DynamicMemoryBlock creates an array of T structs that can be accessed with the
Data field.
It provides
GetNextFreeIndex method to get index of next free item in the Data array (this method sets the returned index as used).
The
FreeIndex(Int32) method frees the specified index.
The class is using a very memory efficient bits from an array of ulong values to mark which elements in the Data array are used and which are free.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic class DynamicMemoryBlock<T> : IDynamicMemoryBlock
where T : struct, new()
Type Parameters
- T
The DynamicMemoryBlockT type exposes the following members.
Constructors
Properties
Methods
Fields
See Also