Sorted |
[FlagsAttribute] public enum RenderingLayerSortTypes
Member name | Value | Description |
---|---|---|
None | 0 | No sorting is performed - objects are rendering in the same order as they are added to the queue in the RenderingLayer |
CameraDistance | 1 | Objects are sorted by camera distance |
Material | 2 | Objects are sorted in such a way so that objects with same material are rendered together to reduce the number of needed state changes. |
Other | 3 | Objects are sorted by some other criteria. |