Navigation
API > API/Runtime > API/Runtime/Renderer
Similar to the parallel one, but intended for use with simpler tasks where the overhead and complexity of parallel is not justified.
| Name | FSimpleMeshDrawCommandPass |
| Type | class |
| Header File | /Engine/Source/Runtime/Renderer/Public/SimpleMeshDrawCommandPass.h |
| Include Path | #include "SimpleMeshDrawCommandPass.h" |
Syntax
class FSimpleMeshDrawCommandPass
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SimpleMeshDrawCommandPass.h | |||
| SimpleMeshDrawCommandPass.h | |||
FSimpleMeshDrawCommandPass
(
const FSceneView& View, |
BEnableStereo - if true will extract the stereo information from the View and set up two ViewIds for the instance culling, as well as use InstanceFactor = 2 for legacy drawing. | SimpleMeshDrawCommandPass.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedsInitialization | bool | SimpleMeshDrawCommandPass.h | ||
| bSupportsScenePrimitives | bool | Is set to true if and only if the BuildRenderingCommands has been called with an enabled GPU scene (which implies a valid Scene etc). | SimpleMeshDrawCommandPass.h | |
| bUsingStereo | bool | SimpleMeshDrawCommandPass.h | ||
| bWasDrawCommandsSetup | bool | SimpleMeshDrawCommandPass.h | ||
| DynamicMeshDrawCommandStorage | FDynamicMeshDrawCommandStorage | SimpleMeshDrawCommandPass.h | ||
| DynamicPassMeshDrawListContext | FDynamicPassMeshDrawListContext | SimpleMeshDrawCommandPass.h | ||
| GraphicsMinimalPipelineStateSet | FGraphicsMinimalPipelineStateSet | SimpleMeshDrawCommandPass.h | ||
| InstanceCullingContext | FInstanceCullingContext | SimpleMeshDrawCommandPass.h | ||
| InstanceFactor | uint32 | SimpleMeshDrawCommandPass.h | ||
| PrimitiveIdVertexBuffer | FRHIBuffer * | GPUCULL_TODO: Only for legacy path. | SimpleMeshDrawCommandPass.h | |
| VisibleMeshDrawCommands | FMeshCommandOneFrameArray | SimpleMeshDrawCommandPass.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildRenderingCommands
(
FRDGBuilder& GraphBuilder, |
Run post-instance culling job to create the render commands and instance ID lists and optionally vertex instance data. | SimpleMeshDrawCommandPass.h | |
void BuildRenderingCommands
(
FRDGBuilder& GraphBuilder, |
SimpleMeshDrawCommandPass.h | ||
FDynamicPassMeshDrawListContext * GetDynamicPassMeshDrawListContext() |
SimpleMeshDrawCommandPass.h | ||
EInstanceCullingMode GetInstanceCullingMode() |
SimpleMeshDrawCommandPass.h | ||
void SubmitDraw
(
FRHICommandList& RHICmdList, |
SimpleMeshDrawCommandPass.h |