Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Register external texture with fallback if the resource is invalid.
CAUTION: use this function very wisely. It may actually remove shader parameter validation failure when a pass is actually trying to access a resource not yet or no longer available.
| Name | RegisterExternalTextureWithFallback |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp |
FRDGTextureRef RegisterExternalTextureWithFallback
(
FRDGBuilder & GraphBuilder,
const TRefCountPtr < IPooledRenderTarget > & ExternalPooledTexture,
const TRefCountPtr < IPooledRenderTarget > & FallbackPooledTexture
)