Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
Include |
#include "RenderGraphBuilder.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp |
FRDGTextureRef CreateTexture
(
const FRDGTextureDesc & Desc,
const TCHAR * Name,
ERDGTextureFlags Flags
)
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.