splitExclusionMask
A bitmask that represents the BatchCullingContext.cullingSplits Unity ignores in a BatchDrawCommand struct.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public readonly ushort splitExclusionMask
Remarks
The bitmask is 8 bits. A bit value of 1 means Unity ignores the culling split. The least significant bit corresponds to the first culling split in the BatchCullingContext.cullingSplits array, and each successive bit corresponds to the next culling split, up to a maximum of six bits. This means that any of the bits set to 1 in the exclusion mask do not need to be set in the splitMask either.