SetSortTransparentDepth

Description

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. It is on by default but if your transparent sprites are guaranteed to not overlap you may turn it off to increase performance. This command is deprecated, sorting is now handled automatically.

Definition

SetSortTransparentDepth( sort )

Parameters