BatchCullingContext.cullingLayerMask

public uint cullingLayerMask;

Description

The cullingLayerMask value of the object from which the culling is invoked. The draw command is discarded by the internal culling if the expression (1 << layer) & cullingLayerMask is false. Using this field is optional, use it for performance or other optimization purposes.


Did you find this page useful? Please give it a rating: