Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/IDisplayClusterViewportProxy
Description
Get the active per-frame resource override for the given resource type, if one was set this frame via SetResourcesOverride_RenderThread.
| Name | GetResourcesOverride_RenderThread |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/IDisplayClusterViewportProxy.h |
| Include Path | #include "Render/Viewport/IDisplayClusterViewportProxy.h" |
bool GetResourcesOverride_RenderThread
(
const EDisplayClusterViewportResourceType InResourceType,
TArray < FRHITexture * > & OutResources,
TArray < FIntRect > * OutOptRects
) const
- true if an override is active for InResourceType this frame
Parameters
| Name | Remarks |
|---|---|
| InResourceType | resource type to query (RTT, Shader, MIPS, etc) |
| OutResources | [Out] overriding RHI resources, one entry per context |
| OutOptRects | [optional, Out] subrects for each resource; not written if null |
See Also
- SetResourcesOverride_RenderThread