# GetManagedSpriteDrawCalls

## Description

Returns the number of OpenGL draw calls used to draw all managed sprites. Generally the lower this number the better the performance. AGK attempts to batch sprites into as few draw calls as possible, it does this by looking for sprites with the same texture and drawing them at the same time.

## Definition

integer GetManagedSpriteDrawCalls()

UINT agk::GetManagedSpriteDrawCalls()