Space Engineers
Public Member Functions | Properties | List of all members
VRageRender.MyFreelist< T > Class Template Reference

Public Member Functions

void Clear ()
 
 MyFreelist (int sizeLimit, T defaultValue=default(T))
 
int Allocate ()
 
void Free (int index)
 

Properties

int Size [get]
 
int Capacity [get]
 
int FilledSize [get]
 
T[] Data [get]
 

Detailed Description

Type Constraints
T :struct 

Definition at line 9 of file MyFreelist.cs.

Constructor & Destructor Documentation

VRageRender.MyFreelist< T >.MyFreelist ( int  sizeLimit,
defaultValue = default(T) 
)
inline

Definition at line 37 of file MyFreelist.cs.

Member Function Documentation

int VRageRender.MyFreelist< T >.Allocate ( )
inline

Definition at line 49 of file MyFreelist.cs.

void VRageRender.MyFreelist< T >.Clear ( )
inline

Definition at line 24 of file MyFreelist.cs.

void VRageRender.MyFreelist< T >.Free ( int  index)
inline

Definition at line 77 of file MyFreelist.cs.

Property Documentation

int VRageRender.MyFreelist< T >.Capacity
get

Definition at line 20 of file MyFreelist.cs.

T [] VRageRender.MyFreelist< T >.Data
get

Definition at line 47 of file MyFreelist.cs.

int VRageRender.MyFreelist< T >.FilledSize
get

Definition at line 22 of file MyFreelist.cs.

int VRageRender.MyFreelist< T >.Size
get

Definition at line 19 of file MyFreelist.cs.


The documentation for this class was generated from the following file: