Version: 2021.1
언어: 한국어

CullingOptions.DisablePerObjectCulling

매뉴얼로 전환

설명

When this flag is set, Unity does not perform per-object culling.

By default, when using a Scriptable Render Pipeline, Unity performs per-object culling for Lights and Reflection Probes. This means that Unity pairs visible Lights and Reflection Probes with visible Renderers in their zone of influence when it performs a culling operation.

When this flag is set, Unity does not perform per-object culling of Lights or Reflection Probes. If you are creating a custom Scriptable Render Pipeline that does not use per-object lighting, set this flag to avoid wasted CPU operations.

Default value: unset.

See Also: ScriptableCullingParameters.cullingOptions, ScriptableRenderContext.Cull, CullingResults.