Navigation
API > API/Runtime > API/Runtime/Renderer
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h |
| Include | #include "MeshPassProcessor.h" |
Syntax
class FCachedMeshDrawCommandInfo
Remarks
Stores information about a mesh draw command which is cached in the scene. This is stored separately from the cached FMeshDrawCommand so that InitViews does not have to load the FMeshDrawCommand into cache.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | CommandIndex | Stores the index into FScene::CachedDrawLists of the corresponding FMeshDrawCommand, or -1 if not stored there. | |
| EFVisibleMeshDrawCommandFlags: uint32(EFVisibleMeshDrawCommandFlags::NumBits) | Flags | ||
| ERasterizerCullMode: ERasterizerCullMode_NumBits + 1 | MeshCullMode | ||
| ERasterizerFillMode: ERasterizerFillMode_NumBits + 1 | MeshFillMode | ||
| EMeshPass::Type: EMeshPass::NumBits + 1 | MeshPass | Needed for easier debugging and faster removal of cached mesh draw commands. | |
| FMeshDrawCommandSortKey | SortKey | ||
| int32 | StateBucketId | Stores the index into FScene::CachedMeshDrawCommandStateBuckets of the corresponding FMeshDrawCommand, or -1 if not stored there. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCachedMeshDrawCommandInfo
(
EMeshPass::Type InMeshPass |