FD3D12ResourceLocation::TransferOwnership

Transfers the contents of 1 resource location to another, destroying the original but preserving the underlying resource.

Choose your operating system:

Windows

macOS

Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Resources.h

Include

#include "D3D12Resources.h"

Source

/Engine/Source/Runtime/D3D12RHI/Private/D3D12Resources.cpp

Syntax

static void TransferOwnership
(
    FD3D12ResourceLocation & Destination,
    FD3D12ResourceLocation & Source
)

Remarks

Transfers the contents of 1 resource location to another, destroying the original but preserving the underlying resource.