Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/SupportsCachingMeshDrawCommands
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PrimitiveSceneProxy.h |
| Include | #include "PrimitiveSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveSceneProxy.cpp |
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.