Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsVerticalBlankMBS class.

WindowsVerticalBlankMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Initializes the class.

WindowsVerticalBlankMBS.GetMonitorFrequency as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the frequency of the monitor that the DirectDraw object controls.

Returns the monitor frequency, in Hz.
Lasterror is set.

Some examples using this method:

WindowsVerticalBlankMBS.GetScanLine as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
This method retrieves the scan line that is currently being drawn on the monitor.

To synchronize with the vertical blank, use the WaitForVerticalBlank method.
Lasterror is set.

Scan lines are reported as zero-based integers.
The returned scan line value is between 0 and n, where scan line 0 is the first visible scan line on the screen and n is the last visible scan line, plus scan lines that occur during the vertical blank period.
So, in a case where an application is running at 640x480, and there are 12 scan lines during the vertical blank period, the values returned by this method will range from 0 to 491.

Some examples using this method:

WindowsVerticalBlankMBS.GetVerticalBlankStatus as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the status of the vertical blank.

Returns the status of the vertical blank. True if a vertical blank is occurring, and false otherwise.
Lasterror is set.

Some examples using this method:

WindowsVerticalBlankMBS.WaitForVerticalBlankBegin

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Helps the application synchronize itself with the vertical-blank interval.

WaitForVerticalBlank returns when the vertical-blank interval begins.
Lasterror is set.

WindowsVerticalBlankMBS.WaitForVerticalBlankEnd

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS ComputerControl Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Helps the application synchronize itself with the vertical-blank interval.

WaitForVerticalBlank returns when the vertical-blank interval ends and the display begins.
Lasterror is set.

The items on this page are in the following plugins: MBS ComputerControl Plugin.


The biggest plugin in space...