Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/TMediaObjectPool
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< ObjectType, ESPMode::ThreadSafe > AcquireShared () |
Acquire a shared object from the pool. | MediaObjectPool.h | |
TSharedPtr< ObjectType, ESPMode::ThreadSafe > AcquireShared
(
bool bAlloc |
Acquire a shared object from the pool. | MediaObjectPool.h |
AcquireShared()
Description
Acquire a shared object from the pool.
Shared objects do not need to be returned to the pool. They'll be reclaimed automatically when their reference count goes to zero.
| Name | AcquireShared |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaObjectPool.h |
| Include Path | #include "MediaObjectPool.h" |
TSharedRef < ObjectType, ESPMode::ThreadSafe > AcquireShared()
The shared object.
See Also
-
AcquireUnique
-
Reset
-
ToShared
AcquireShared(bool)
Description
Acquire a shared object from the pool.
Shared objects do not need to be returned to the pool. They'll be reclaimed automatically when their reference count goes to zero. bAlloc allows to chose if new object should be allocated and added to the pool.
| Name | AcquireShared |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaObjectPool.h |
| Include Path | #include "MediaObjectPool.h" |
TSharedPtr < ObjectType, ESPMode::ThreadSafe > AcquireShared
(
bool bAlloc
)
The shared object.
See Also
-
AcquireUnique
-
Reset
-
ToShared