Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FScreenPassTexture
Description
Returns a 2D texture from the input slice. A copy is used if the input is a slice of a 2D texture array, or the override output is active. If a MultiViewCount is set, that number of slices will be copied. This mode of use is incompatible with TSR, which outputs a Texture2DArray to represent SceneColor history rather than multi-view slices.
| Name | CopyFromSlice |
| Type | function |
| Header File | /Engine/Source/Runtime/Renderer/Public/ScreenPass.h |
| Include Path | #include "ScreenPass.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/ScreenPass.cpp |
static FScreenPassTexture CopyFromSlice
(
FRDGBuilder & GraphBuilder,
const FScreenPassTextureSlice & ScreenTextureSlice,
FScreenPassTexture OverrideOutput,
uint32 MultiViewCount
)