BatchPackedCullingViewID
The ID of the view from which Unity invoked the culling.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<BatchPackedCullingViewID>
public struct BatchPackedCullingViewID : IEquatable<BatchPackedCullingViewID>
Methods
Method | Description |
|---|---|
| Equals | Returns true if the ID in the argument equals this view ID. |
| GetHashCode | Returns the hash code for the ID. |
| GetInstanceID | Returns the instance ID of the GameObject from which Unity performs the culling (for example, Camera, Light, etc.). |
| GetSliceIndex | Returns 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. |