Show / Hide Table of Contents

Interface IMyElementAllocator<T>

Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public interface IMyElementAllocator<T>
    where T : class
Type Parameters
Name Description
T

Properties

ExplicitlyDisposeAllElements

Declaration
bool ExplicitlyDisposeAllElements { get; }
Property Value
Type Description
System.Boolean

Methods

Allocate(Int32)

Declaration
T Allocate(int bucketId)
Parameters
Type Name Description
System.Int32 bucketId
Returns
Type Description
T

Dispose(T)

Declaration
void Dispose(T instance)
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
int GetBytes(T instance)
Parameters
Type Name Description
T instance
Returns
Type Description
System.Int32

Init(T)

Declaration
void Init(T instance)
Parameters
Type Name Description
T instance
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾