TMediaObjectPool::AcquireShared

Acquire a shared object from the pool.

Choose your operating system:

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