SetSortTextures

Description

Sets whether the AGK should sort sprites by texture when drawing to limit the number of texture changes. This will improve performance on devices that do not cope well with frequent state changes, but may reduce performance if textures on sprites are changed frequently. It is off by default but if you do not change sprite textures, or are using atlas textures it is recommended to turn it on. This command is deprecated, sorting is now handled automatically.

Definition

SetSortTextures( sort )

Parameters