TMediaObjectPool::ToShared

Convert an object to a shared pooled object.

Windows
MacOS
Linux

References

Module

MediaUtils

Header

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

Include

#include "MediaObjectPool.h"

Syntax

TSharedRef< ObjectType, ESPMode::ThreadSafe > ToShared
(
    ObjectType * Object
)

Remarks

Convert an object to a shared pooled object.

Returns

The shared object.

Parameters

Parameter

Description

Object

The object to convert.

See Also

AcquireShared

ToUnique

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