Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp |
FRHIUniformBuffer * ConvertToExternalUniformBuffer
(
FRDGUniformBufferRef UniformBuffer
)
Remarks
For a graph-created uniform buffer, this forces immediate allocation of the underlying resource, effectively promoting it to an external resource. This will increase memory pressure, but allows access to the RHI resource. Graph resources that are referenced in the buffer will be converted to external. This is primarily used as an aid for porting code incrementally to RDG.