 |
SceneIsMaterialSortingEnabled Property |
Gets or sets a Boolean that specified if sorting objects by their materials is enabled.
Sorting objects usually improves rendering performance because objects with same materials are rendered one after another and this reduces the required DirectX state changes.
Objects are sorted by their material hash value only when they are in the
MaterialSortedRenderingLayer (usually all standard and opaque geometry objects).
But sometimes user wants to have full control of the order in which the objects are sorted. In this case it is possible to disable material sorting.
Default value is true.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic bool IsMaterialSortingEnabled { get; set; }
Property Value
Boolean[Missing <value> documentation for "P:Ab4d.SharpEngine.Scene.IsMaterialSortingEnabled"]
Remarks[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Scene.IsMaterialSortingEnabled"]
See Also