display_get_frequency()

From ENIGMA
Jump to navigation Jump to search

Description

Gets the refresh frequency of the display, in hertz, and returns the result.

Parameters

Parameter Description
none This function does not take any parameters.

Return Values

integer: Returns the refresh rate of the display, in hertz.

Example Call

// demonstrates obtaining the display refresh frequency
var freq;
freq = display_get_frequency();