[−][src]Function egls::apis::swap_interval
pub fn swap_interval(
display: EGLDisplay,
interval: EGLint
) -> Result<bool, Error>
Specifies the minimum number of video frame periods per buffer swap for the window associated with the current context.
Parameters
display
- Specifies the EGL display connection.interval
- Specifies the minimum number of video frames that are displayed before a buffer swap will occur.