FUniqueBuffer::MoveToShared

Convert this to an immutable shared buffer, leaving this null.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Memory/SharedBuffer.h

Include

#include "Memory/SharedBuffer.h"

Source

/Engine/Source/Runtime/Core/Private/Memory/SharedBuffer.cpp

Syntax

FSharedBuffer MoveToShared()

Remarks

Convert this to an immutable shared buffer, leaving this null.

Steals the buffer owner from the unique buffer.