r.NumBufferedOcclusionQueries
r.NumBufferedOcclusionQueries is a console variable in Unreal Engine 5 (UE5). See what r.NumBufferedOcclusionQueries does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Number of frames to buffer occlusion queries (including the current renderthread frame). More frames reduces the chance of stalling the CPU waiting for results, but increases out of date query artifacts.
Usage
Unreal console (open with ~)
> r.NumBufferedOcclusionQueries 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.Nanite.VSMMeshShaderRasterizationVarr.NeverOcclusionTestDistanceVarr.NormalCurvatureToRoughnessBiasVarr.NormalCurvatureToRoughnessExponentVarr.NormalCurvatureToRoughnessScaleVarr.NormalMapsForStaticLightingVarr.NumFramesUnusedBeforeReleasingGlobalResourceBuffersVarr.Occlusion.SingleRHIThreadStallVarr.OcclusionCullParallelPrimFetchVarr.OIT.DebugVarr.OIT.PoolVarr.OIT.Pool.ReleaseFrameThresholdVar