SupportsCachingMeshDrawCommands

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.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/PrimitiveSceneProxy.h

Include

#include "PrimitiveSceneProxy.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveSceneProxy.cpp

Syntax

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

Remarks

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