UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCachedMeshDrawCommandInfo Class Reference

#include <MeshPassProcessor.h>

Public Member Functions

 FCachedMeshDrawCommandInfo ()
 
 FCachedMeshDrawCommandInfo (EMeshPass::Type InMeshPass)
 

Public Attributes

FMeshDrawCommandSortKey SortKey
 
int32 CommandIndex
 
int32 StateBucketId
 
FMeshDrawCommandCullingPayload CullingPayload
 
EMeshPass::Type MeshPass: EMeshPass::NumBits + 1
 
ERasterizerFillMode MeshFillMode: ERasterizerFillMode_NumBits + 1
 
ERasterizerCullMode MeshCullMode: ERasterizerCullMode_NumBits + 1
 
EFVisibleMeshDrawCommandFlags Flags: uint32(EFVisibleMeshDrawCommandFlags::NumBits)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FCachedMeshDrawCommandInfo() [1/2]

FCachedMeshDrawCommandInfo::FCachedMeshDrawCommandInfo ( )
inline

◆ FCachedMeshDrawCommandInfo() [2/2]

FCachedMeshDrawCommandInfo::FCachedMeshDrawCommandInfo ( EMeshPass::Type  InMeshPass)
inlineexplicit

Member Data Documentation

◆ CommandIndex

int32 FCachedMeshDrawCommandInfo::CommandIndex

◆ CullingPayload

FMeshDrawCommandCullingPayload FCachedMeshDrawCommandInfo::CullingPayload

◆ Flags

EFVisibleMeshDrawCommandFlags FCachedMeshDrawCommandInfo::Flags

◆ MeshCullMode

ERasterizerCullMode FCachedMeshDrawCommandInfo::MeshCullMode

◆ MeshFillMode

ERasterizerFillMode FCachedMeshDrawCommandInfo::MeshFillMode

◆ MeshPass

EMeshPass::Type FCachedMeshDrawCommandInfo::MeshPass

◆ SortKey

FMeshDrawCommandSortKey FCachedMeshDrawCommandInfo::SortKey

◆ StateBucketId

int32 FCachedMeshDrawCommandInfo::StateBucketId

The documentation for this class was generated from the following file: