Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FMeshDrawCommand > API/Runtime/Renderer/FMeshDrawCommand/GetPipelineStateSortingKey
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include | #include "MeshPassProcessor.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/MeshPassProcessor.cpp |
uint64 GetPipelineStateSortingKey
(
const FGraphicsPipelineRenderTargetsInfo & RenderTargetsInfo
) const
Remarks
Returns the pipeline state sort key, which can be used for sorting material draws to reduce context switches. This variant will not attempt to create a PSO if it doesn't exist yet and will just return the fallback.