Navigation
API > API/Runtime > API/Runtime/Renderer
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include | #include "MeshPassProcessor.h" |
Syntax
class FVisibleMeshDrawCommand
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EFVisibleMeshDrawCommandFlags: uint32(EFVisibleMeshDrawCommandFlags::NumBits) | Flags | ||
| ERasterizerCullMode: ERasterizerCullMode_NumBits + 1 | MeshCullMode | ||
| const FMeshDrawCommand * | MeshDrawCommand | Mesh Draw Command stored separately to avoid fetching its data during sorting. | |
| ERasterizerFillMode: ERasterizerFillMode_NumBits + 1 | MeshFillMode | ||
| int32 | NumRuns | ||
| int32 | PrimitiveIdBufferOffset | Offset into the buffer of PrimitiveIds built for this pass, in int32's. | |
| FMeshDrawCommandPrimitiveIdInfo | PrimitiveIdInfo | ||
| const uint32 * | RunArray | Used for passing sub-selection of instances through to the culling. | |
| FMeshDrawCommandSortKey | SortKey | Sort key for non state based sorting (e.g. sort translucent draws by depth). | |
| int32 | StateBucketId | Dynamic instancing state bucket ID. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Setup
(
const FMeshDrawCommand* InMeshDrawCommand, |