Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPrimitiveSceneProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PrimitiveSceneProxy.h |
| Include | #include "PrimitiveSceneProxy.h" |
bool DoesMeshBatchesUseSceneInstanceCount() const
Remarks
Returns true to inform scene update that the mesh batches produced makes use of the (GPU)Scene instance count, and thus don't require recaching if the instance count changed. Defaults to false, the proxy should only opt in if the above condition is true (or risk GPU-crashes). Requires FMeshBatchElement::bFetchInstanceCountFromScene to be true.