C# Class BEPUutilities.ResourceManagement.CommonResources

Handles allocation and management of commonly used resources.
显示文件 Open project: Indiefreaks/igf

Public Methods

Method Description
GetFloatList ( ) : RawList

Retrieves a float list from the resource pool.

GetIntList ( ) : RawList

Retrieves a int list from the resource pool.

GetIntSet ( ) : HashSet

Retrieves a int hash set from the resource pool.

GetRayHitList ( ) : RawList

Retrieves a ray hit list from the resource pool.

GetVectorList ( ) : RawList

Retrieves a Vector3 list from the resource pool.

GiveBack ( HashSet set ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

GiveBack ( RawList list ) : void

Returns a resource to the pool.

ResetPools ( ) : void

Private Methods

Method Description
CommonResources ( ) : System.Collections.Generic

Method Details

GetFloatList() public static method

Retrieves a float list from the resource pool.
public static GetFloatList ( ) : RawList
return RawList

GetIntList() public static method

Retrieves a int list from the resource pool.
public static GetIntList ( ) : RawList
return RawList

GetIntSet() public static method

Retrieves a int hash set from the resource pool.
public static GetIntSet ( ) : HashSet
return HashSet

GetRayHitList() public static method

Retrieves a ray hit list from the resource pool.
public static GetRayHitList ( ) : RawList
return RawList

GetVectorList() public static method

Retrieves a Vector3 list from the resource pool.
public static GetVectorList ( ) : RawList
return RawList

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( HashSet set ) : void
set HashSet Set to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

GiveBack() public static method

Returns a resource to the pool.
public static GiveBack ( RawList list ) : void
list RawList List to return.
return void

ResetPools() public static method

public static ResetPools ( ) : void
return void