FRDGBuilder::CreateTexture

Create graph tracked texture from a descriptor.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h

Include

#include "RenderGraphBuilder.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp

Syntax

FRDGTextureRef CreateTexture
(
    const FRDGTextureDesc & Desc,
    const TCHAR * Name,
    ERDGTextureFlags Flags
)

Remarks

Create graph tracked texture from a descriptor. The CPU memory is guaranteed to be valid through execution of the graph, at which point it is released. The underlying RHI texture lifetime is only guaranteed for passes which declare the texture in the pass parameter struct. The name is the name used for GPU debugging tools and the the VisualizeTexture/Vis command.

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