static T | Get< T > ( ) Gets an object of type T from it's respective pool. |
static List< T > | List< T > ( ) |
static List< T > | List< T > ( IEnumerable< T > source ) |
static Dictionary< TKey, TValue > | |
static HashSet< T > | HashSet< T > ( ) |
static Stack< T > | Stack< T > ( ) |
static Queue< T > | Queue< T > ( ) |
static void | Return< T > ( T obj ) Returns an object of type T to it's respective pool. |
static void | Return< T > ( HashSet< T > set ) |
static void | Return< T > ( Stack< T > stack ) |
static void | Return< T > ( Queue< T > queue ) |
static T OVRObjectPool.Get< T > ( ) |
---|
Gets an object of type T from it's respective pool. If none is available a new one is created. Returns Object of type T |
static List< T > OVRObjectPool.List< T > ( ) |
---|
No description available.
|
static List< T > OVRObjectPool.List< T > ( IEnumerable< T > source ) |
---|
No description available.
|
static Dictionary< TKey, TValue > OVRObjectPool.Dictionary< TKey, TValue > ( ) |
---|
No description available.
|
static HashSet< T > OVRObjectPool.HashSet< T > ( ) |
---|
No description available.
|
static Stack< T > OVRObjectPool.Stack< T > ( ) |
---|
No description available.
|
static Queue< T > OVRObjectPool.Queue< T > ( ) |
---|
No description available.
|
static void OVRObjectPool.Return< T > ( T obj ) |
---|
Returns an object of type T to it's respective pool. If the object is null or already present in the pool no changes are made. After returning an object to the object pool using it is not allowed and leads to undefined behaviour, please Get<T> another object from the pool instead. |
static void OVRObjectPool.Return< T > ( HashSet< T > set ) |
---|
No description available.
|
static void OVRObjectPool.Return< T > ( Stack< T > stack ) |
---|
No description available.
|
static void OVRObjectPool.Return< T > ( Queue< T > queue ) |
---|
No description available.
|