SupportsCachingMeshDrawCommands

Overload list

Windows
MacOS
Linux
Name Description

Public function

bool

 

SupportsCachingMeshDrawCommands

(
    const FMeshBatch& MeshBatch
)

Returns if specified mesh command can be cached, or needs to be recreated every frame.

Public function

bool

 

SupportsCachingMeshDrawCommands

(
    const FMeshBatch& MeshBatch,
    ERHIFeatureLevel::Type FeatureLevel
)

Returns if specified mesh command can be cached, or needs to be recreated every frame; this is a slightly slower version used for materials with external textures that need invalidating their PSOs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss