Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
Include |
#include "RenderGraphBuilder.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp |
void PreallocateTexture
(
FRDGTextureRef Texture
)
For graph-created resources, this forces immediate allocation of the underlying pooled resource, effectively promoting it to an external resource. This will increase memory pressure, but allows for querying the pooled resource with GetPooled{Texture, Buffer}. This is primarily used as an aid for porting code incrementally to RDG.