AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkBenchmark.ManagedSpriteCount Property

Returns the number of sprites that are being managed by the internal sprite manager.

Syntax
Pascal
class property ManagedSpriteCount: Integer;

The sprite manager is responsible for updating sprite animation and calculating which sprites are visible and need to be sent for drawing. It also sorts the sprites when necessary for correct transparency drawing. 

As long as not too many sprites are sent for drawing the sprite manager should be able to handle several hundred sprites.

Copyright (c) 2012. All rights reserved.