AGK for Pascal
TAgkScene.AutoFree Property

Whether the scene will automatically be freed when the application starts a new scene. Defaults to True.

property AutoFree: Boolean;

When TAgkApplication.SetScene is called, the previously active scene will automatically be freed if this property is set to True (Default). If this property is False, then you need to make sure yourself to free the scene at the appropriate time. To save memory, you should try to keep the amount of "live" scenes to a minimum.

Copyright (c) 2012. All rights reserved.