Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FMeshDrawCommand
Description
Submits the state and shader bindings to the RHI command list, but does not invoke the draw. If function returns false, then draw can be skipped because the PSO used by the draw command is not compiled yet (still precaching)
| Name | SubmitDrawBegin |
| Type | function |
| Header File | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include Path | #include "MeshPassProcessor.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/MeshPassProcessor.cpp |
static bool SubmitDrawBegin
(
const FMeshDrawCommand &__restrict MeshDrawCommand,
const FGraphicsMinimalPipelineStateSet & GraphicsMinimalPipelineStateSet,
const FMeshDrawCommandSceneArgs & SceneArgs,
uint32 InstanceFactor,
FRHICommandList & RHICmdList,
FMeshDrawCommandStateCache &__restrict StateCache,
bool bAllowSkipDrawCommand
)