Version: 2017.2
Experimental: this API is experimental and might be changed or removed in the future.

SortFlags.OptimizeStateChanges

Switch to Manual

Description

Sort objects to reduce draw state changes.

See Also: DrawRendererSettings.sorting, RenderLoop.DrawRenderers.