AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.VSync Property

Sets whether vertical sync should be turned on or off. This is not supported on all devices.

Syntax
Pascal
property VSync: Boolean;

If the device does support it the frame rate will be linked to the monitor refresh rate so that image tearing does not occur. If VSync is turned off the frames will be drawn as quickly as possible, sometimes faster than the display can show them. A value of True will turn VSync on, a value of False will turn it off. If the device does not support this command it is unknown which mode will be in use.

Copyright (c) 2012. All rights reserved.