Navigation
API > API/Plugins > API/Plugins/PCGCompute
Parameters to drive execution of a GPU texture readback. These mirror the fields in the texture readback compute shader (PCGTextureReadback.usf).
| Name | FPCGTextureReadbackDispatchParams |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCGCompute/Public/PCGTextureReadback.h |
| Include Path | #include "PCGTextureReadback.h" |
Syntax
struct FPCGTextureReadbackDispatchParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceDimensions | FIntPoint | Width and Height of the SourceTexture. | PCGTextureReadback.h | |
| SourceSampler | FSamplerStateRHIRef | Sampler used to sample the SourceTexture. | PCGTextureReadback.h | |
| SourceTexture | FTextureRHIRef | Source texture to sample from. | PCGTextureReadback.h | |
| SourceTextureIndex | uint32 | Optional texture index. Should be 0 if the SourceTexture is not a texture array. | PCGTextureReadback.h |