Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/IDisplayClusterViewportProxy
Description
Set a per-frame resource override for the given resource type. The override shadows the normal resource-fetch path for this frame only and is cleared automatically at the start of the next frame. Pass an empty InResources to remove any existing override for InResourceType.
| Name | SetResourcesOverride_RenderThread |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/IDisplayClusterViewportProxy.h |
| Include Path | #include "Render/Viewport/IDisplayClusterViewportProxy.h" |
bool SetResourcesOverride_RenderThread
(
const EDisplayClusterViewportResourceType InResourceType,
const TArray < FRHITexture * > & InResources,
const TArray < FIntRect > * InOptRects
) const
- true if the override was stored (or cleared) successfully
Parameters
| Name | Remarks |
|---|---|
| InResourceType | resource type to override (RTT, Shader, MIPS, etc) |
| InResources | RHI resources to use instead of the viewport's own, one entry per context; pass empty to clear |
| InOptRects | [optional] subrect within each resource; if null, the full texture extent is used |