TMediaObjectPool::AcquireShared

Acquire a shared object from the pool.

Windows
MacOS
Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaObjectPool.h

Include

#include "MediaObjectPool.h"

Syntax

TSharedRef< ObjectType, ESPMode::ThreadSafe > AcquireShared()

Remarks

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.

Returns

The shared object.

See Also

Acquire

AcquireUnique

Reset

ToShared

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss