Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder
Description
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.
| Name | ConvertToExternalUniformBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include Path | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp |
FRHIUniformBuffer * ConvertToExternalUniformBuffer
(
FRDGUniformBufferRef UniformBuffer
)