Interface IMyElementAllocator<T>
Assembly: VRage.Library.dll
Syntax
public interface IMyElementAllocator<T>
where T : class
Type Parameters
Properties
ExplicitlyDisposeAllElements
Declaration
bool ExplicitlyDisposeAllElements { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Allocate(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
bucketId |
|
Returns
Dispose(T)
Declaration
Parameters
Type |
Name |
Description |
T |
instance |
|
GetBucketId(T)
Declaration
int GetBucketId(T instance)
Parameters
Type |
Name |
Description |
T |
instance |
|
Returns
Type |
Description |
System.Int32 |
|
GetBytes(T)
Declaration
Parameters
Type |
Name |
Description |
T |
instance |
|
Returns
Type |
Description |
System.Int32 |
|
Init(T)
Declaration
Parameters
Type |
Name |
Description |
T |
instance |
|