UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGPUSceneWriteDelegateParams Struct Reference

#include <GPUSceneWriter.h>

Public Attributes

uint32 PersistentPrimitiveId = (uint32)INDEX_NONE
 
uint32 InstanceSceneDataOffset = (uint32)INDEX_NONE
 
uint32 NumCustomDataFloats = (uint32)INDEX_NONE
 
uint32 PackedInstanceSceneDataFlags = 0u
 
EGPUSceneGPUWritePass GPUWritePass = EGPUSceneGPUWritePass::None
 
FSceneViewView = nullptr
 
FGPUSceneWriterParameters GPUWriteParams
 
TRDGUniformBufferRef< FGPUSceneWriterUniformParametersGPUSceneWriterUB
 

Detailed Description

Note: this should not be in a public header, the above UB exists for this reason but doesn't work on DX11 RHI. Deprecated for 5.6! Use SHADER_PARAMETER_RDG_UNIFORM_BUFFER(FGPUSceneWriterUniformParameters, GPUSceneWriterUB) instead. The parameters passed to the GPUScene writer delegate

Member Data Documentation

◆ GPUSceneWriterUB

TRDGUniformBufferRef<FGPUSceneWriterUniformParameters> FGPUSceneWriteDelegateParams::GPUSceneWriterUB

Include a reference to the UB in the compute shader parameter struct, for example: SHADER_PARAMETER_RDG_UNIFORM_BUFFER(FGPUSceneWriterUniformParameters, GPUSceneWriterUB)

◆ GPUWriteParams

FGPUSceneWriterParameters FGPUSceneWriteDelegateParams::GPUWriteParams

The shader parameters the delegate can use to perform writes on GPU Scene data

◆ GPUWritePass

EGPUSceneGPUWritePass FGPUSceneWriteDelegateParams::GPUWritePass = EGPUSceneGPUWritePass::None

The GPU Scene write pass that is currently executing. (NOTE: A value of None specifies that it is occurring on upload)

◆ InstanceSceneDataOffset

uint32 FGPUSceneWriteDelegateParams::InstanceSceneDataOffset = (uint32)INDEX_NONE

The ID of the first instance scene data of the primitive

◆ NumCustomDataFloats

uint32 FGPUSceneWriteDelegateParams::NumCustomDataFloats = (uint32)INDEX_NONE

Number of custom data floats in the instance payload data.

◆ PackedInstanceSceneDataFlags

uint32 FGPUSceneWriteDelegateParams::PackedInstanceSceneDataFlags = 0u

Packed instance scene data flags suitable for writing to instance scene data.

◆ PersistentPrimitiveId

uint32 FGPUSceneWriteDelegateParams::PersistentPrimitiveId = (uint32)INDEX_NONE

The ID of the primitive that writes must be limited to.

◆ View

FSceneView* FGPUSceneWriteDelegateParams::View = nullptr

The view for which this primitive belongs (for dynamic primitives)


The documentation for this struct was generated from the following file: