FRDGBuilder::CreateUniformBuffer

Creates a graph tracked uniform buffer which can be attached to passes.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphBuilder.h"

Source

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

Syntax

template<typename ParameterStructType>
TRDGUniformBufferRef< ParameterStructType > CreateUniformBuffer
(
    ParameterStructType * ParameterStruct
)

Remarks

Creates a graph tracked uniform buffer which can be attached to passes. These uniform buffers require some care because they will bulk transition all resources. The graph will only transition resources which are not also bound for write access by the pass.

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