Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder
Description
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.
| Name | CreateTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include Path | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl |
FRDGTextureRef CreateTexture
(
const FRDGTextureDesc & Desc,
const TCHAR * Name,
ERDGTextureFlags Flags
)