Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/TMediaObjectPool
References
Module | MediaUtils |
Header | /Engine/Source/Runtime/MediaUtils/Public/MediaObjectPool.h |
Include | #include "MediaObjectPool.h" |
Syntax
class TStorage
Remarks
Object pool storage.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TStorage
(
ObjectAllocator* InObjectAllocatorInstance |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
~TStorage () |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
ObjectType * | Acquire
(
bool bAlloc |
Acquire an object from the pool. |
![]() ![]() |
int32 | Num () |
Get the number of objects stored. |
![]() |
void | Release
(
ObjectType* Object |
Return the given object to the pool. |
![]() |
void | Reserve
(
uint32 NumObjects |
Reserve the specified number of objects. |
![]() |
void | Tick () |
Regular tick call |