 |
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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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