AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.SortSpritesByTextures Property

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.

Syntax
Pascal
property SortSpritesByTextures: Boolean;

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.

Copyright (c) 2012. All rights reserved.