Module |
|
Header |
/Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
Include |
#include "MeshPassProcessor.h" |
class FVisibleMeshDrawCommand
Stores information about a mesh draw command that has been determined to be visible, for further visibility processing. This class should only store data needed by InitViews operations (visibility, sorting) and not data needed for draw submission, which belongs in FMeshDrawCommand.
Name | Description | ||
---|---|---|---|
|
DrawPrimitiveId |
Draw PrimitiveId this draw command is associated with - used by the shader to fetch primitive data from the PrimitiveSceneData SRV. |
|
|
MeshCullMode |
||
|
const FMeshDraw... |
MeshDrawCommand |
Mesh Draw Command stored separately to avoid fetching its data during sorting. |
|
MeshFillMode |
||
|
PrimitiveIdBufferOffset |
Offset into the buffer of PrimitiveIds built for this pass, in int32's. |
|
|
ScenePrimitiveId |
Scene PrimitiveId that generated this draw command, or -1 if no FPrimitiveSceneInfo. Can be used to backtrack to the FPrimitiveSceneInfo. |
|
|
SortKey |
Sort key for non state based sorting (e.g. sort translucent draws by depth). |
|
|
StateBucketId |
Dynamic instancing state bucket ID. |
Name | Description | ||
---|---|---|---|
|
Setup ( |