AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.Render Method

Draws all sprites and text objects to the current frame buffer. It does not swap the backbuffer to the screen.

Syntax
Pascal
class procedure Render; static;

You usually don't have to call this method since it is called automatically during each frame loop. However, you need to manually render the scene if you want to create a screen shot (using TAgkImage.ScreenShot). 

It does not draw sprites you have created using pointers, you will either have to draw them individually or assign them to a sprite manager to batch draw them. In this case Render should still be called as it also updates device rotation settings.

Copyright (c) 2012. All rights reserved.