|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class DynamicMemoryBlock<T>
where T : struct, new()
Type Parameters
- T
The DynamicMemoryBlockT type exposes the following members.
Constructors Properties Methods Fields See Also