Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FMeshDrawCommand
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include | #include "MeshPassProcessor.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/MeshPassProcessor.cpp |
static bool SubmitDrawIndirectBegin
&40;
const FMeshDrawCommand &restrict MeshDrawCommand,
const FGraphicsMinimalPipelineStateSet & GraphicsMinimalPipelineStateSet,
FRHIBuffer &42; ScenePrimitiveIdsBuffer,
int32 PrimitiveIdOffset,
uint32 InstanceFactor,
FRHICommandList & RHICmdList,
FMeshDrawCommandStateCache &restrict StateCache,
bool bAllowSkipDrawCommand
&41;
Remarks
Submits the state and shader bindings to the RHI command list, but does not invoke the draw indirect. If function returns false, then draw will be skipped because PSO used by the draw command is not compiled yet (still precaching)