 |
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 HierarchySystemObject
Ab4d.SharpEngine.UtilitiesDynamicMemoryBlockT
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic class DynamicMemoryBlock<T> : IDynamicMemoryBlock
where T : struct, new()
Type Parameters
- T
The DynamicMemoryBlockT type exposes the following members.
Constructors
Properties
Methods
Fields
Remarks[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Utilities.DynamicMemoryBlock`1"]
See Also