Version: 2022.3

BatchPackedCullingViewID

struct in UnityEngine.Rendering

切换到手册

描述

The ID of the view from which Unity invoked the culling.

公共函数

EqualsReturns true if the ID in the argument equals this view ID.
GetHashCodeReturns the hash code for the ID.
GetInstanceIDReturns the instance ID of the GameObject from which Unity performs the culling (for example, Camera, Light, etc.).
GetSliceIndexReturns the slice index of the culled view. The slice index depends on the view type. For cameras, the slice index is always zero. For cascaded shadow maps, it is equal to the index of the cascade.