AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.SortTransparentSpritesByDepth Property

Sets whether the AGK should sort transparent sprites by depth when drawing. This draws sprites at the back of the screen first to achieve the correct blending result when transparent sprites overlap.

Syntax
Pascal
property SortTransparentSpritesByDepth: Boolean;

It is on by default but if your transparent sprites are guaranteed to not overlap you may turn it off to increase performance.

Copyright (c) 2012. All rights reserved.