Navigation
API > API/Runtime > API/Runtime/Renderer
Context used when building FMeshDrawCommands for one frame only.
| Name | FDynamicPassMeshDrawListContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include Path | #include "MeshPassProcessor.h" |
Syntax
class FDynamicPassMeshDrawListContext : public FMeshPassDrawListContext
Inheritance Hierarchy
- FMeshPassDrawListContext → FDynamicPassMeshDrawListContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicPassMeshDrawListContext
(
FDynamicMeshDrawCommandStorage& InDrawListStorage, |
MeshPassProcessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DrawList | FMeshCommandOneFrameArray & | MeshPassProcessor.h | ||
| DrawListStorage | FDynamicMeshDrawCommandStorage & | MeshPassProcessor.h | ||
| GraphicsMinimalPipelineStateSet | FGraphicsMinimalPipelineStateSet & | MeshPassProcessor.h | ||
| NeedsShaderInitialisation | bool & | MeshPassProcessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddVisibleMeshDrawCommand
(
const FVisibleMeshDrawCommand& VisibleMeshDrawCommand |
Use to add pre-built (cached) draw commands to a dynamic context. | MeshPassProcessor.h |
Overridden from FMeshPassDrawListContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMeshDrawCommand & AddCommand
(
FMeshDrawCommand& Initializer, |
MeshPassProcessor.h | ||
virtual void FinalizeCommand
(
const FMeshBatch& MeshBatch, |
MeshPassProcessor.h |