![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GPUSceneWriter.h>
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
| 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)
| FGPUSceneWriterParameters FGPUSceneWriteDelegateParams::GPUWriteParams |
The shader parameters the delegate can use to perform writes on GPU Scene data
| 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)
| uint32 FGPUSceneWriteDelegateParams::InstanceSceneDataOffset = (uint32)INDEX_NONE |
The ID of the first instance scene data of the primitive
| uint32 FGPUSceneWriteDelegateParams::NumCustomDataFloats = (uint32)INDEX_NONE |
Number of custom data floats in the instance payload data.
| uint32 FGPUSceneWriteDelegateParams::PackedInstanceSceneDataFlags = 0u |
Packed instance scene data flags suitable for writing to instance scene data.
| uint32 FGPUSceneWriteDelegateParams::PersistentPrimitiveId = (uint32)INDEX_NONE |
The ID of the primitive that writes must be limited to.
| FSceneView* FGPUSceneWriteDelegateParams::View = nullptr |
The view for which this primitive belongs (for dynamic primitives)