|
Space Engineers
|
A copy of MyObjectsPool that handles types a little different for the MyObjectPoolManager More...
Public Member Functions | |
| MyGenericObjectPool (int baseCapacity, Type storedTypeOverride) | |
| bool | AllocateOrCreate (out object item) |
| Returns true when new item was allocated More... | |
| void | Deallocate (object item) |
| void | MarkForDeallocate (object item) |
| void | DeallocateAllMarked () |
| void | DeallocateAll () |
| void | TrimToBaseCapacity () |
Properties | |
| QueueReader< object > | Unused [get] |
| HashSetReader< object > | Active [get] |
| int | ActiveCount [get] |
| int | BaseCapacity [get] |
| int | Capacity [get] |
A copy of MyObjectsPool that handles types a little different for the MyObjectPoolManager
Definition at line 296 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 336 of file MyObjectPoolManager.cs.
|
inline |
Returns true when new item was allocated
Definition at line 362 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 373 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 395 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 386 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 380 of file MyObjectPoolManager.cs.
|
inline |
Definition at line 405 of file MyObjectPoolManager.cs.
|
get |
Definition at line 313 of file MyObjectPoolManager.cs.
|
get |
Definition at line 318 of file MyObjectPoolManager.cs.
|
get |
Definition at line 323 of file MyObjectPoolManager.cs.
|
get |
Definition at line 328 of file MyObjectPoolManager.cs.
|
get |
Definition at line 308 of file MyObjectPoolManager.cs.
1.8.8