Navigation
API > API/Runtime > API/Runtime/Renderer
Special implementation of FGPUSceneWriteDelegate to keep API similar, but allow abstracting the internals for the mesh batch path. Used by GPUScene to stage writing to the GPUScene primitive and instance data buffers via the GPU.
| Name | FGPUSceneWriteDelegate |
| Type | class |
| Header File | /Engine/Source/Runtime/Renderer/Public/GPUSceneWriter.h |
| Include Path | #include "GPUSceneWriter.h" |
Syntax
class FGPUSceneWriteDelegate : public FOneFrameResource
Inheritance Hierarchy
- FOneFrameResource → FGPUSceneWriteDelegate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GPUSceneWriter.h | |||
| GPUSceneWriter.h | |||
FGPUSceneWriteDelegate
(
FGPUSceneWriteDelegateImpl&& GPUSceneWriteDelegateImpl |
GPUSceneWriter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Delegate | FGPUSceneWriteDelegateImpl | GPUSceneWriter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Execute
(
FRDGBuilder& GraphBuilder, |
GPUSceneWriter.h | ||
bool IsBound() |
GPUSceneWriter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGPUSceneWriteDelegateRef CreateInternal
(
FMeshElementCollector* MeshElementCollector, |
GPUSceneWriter.h | ||
static FGPUSceneWriteDelegate CreateLambda
(
LambdaType&& Lambda |
GPUSceneWriter.h | ||
static FGPUSceneWriteDelegateRef CreateLambda
(
FMeshElementCollector* MeshElementCollector, |
This version returns a FGPUSceneWriteDelegateRef and this must be used to associate a FGPUSceneWriteDelegate with a mesh batch. | GPUSceneWriter.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGPUSceneWriteDelegate & operator=
(
FGPUSceneWriteDelegate&& |
GPUSceneWriter.h |