Add @since tag to VsyncMode javadoc

This commit is contained in:
JeremyStar™ 2024-07-21 16:43:07 +02:00
parent a3849f1813
commit de0d5cb8a8
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -21,21 +21,29 @@ package de.staropensource.sosengine.graphics.types;
/**
* Used for determining if and how a window's frame rate should be synchronized to the monitor's refresh rate.
*
* @since v1-alpha1
*/
@SuppressWarnings({ "unused" })
public enum VsyncMode {
/**
* Disables VSync. The frame rate can be uncapped and will allow for processing an unlimited amount of frames.
*
* @since v1-alpha1
*/
OFF,
/**
* Enables VSync and will cap the window's frame rate at the refresh rate of the target monitor.
*
* @since v1-alpha1
*/
ON,
/**
* This mode will disables VSync if the window's frame rate drops below the monitor's refresh rate and enable it otherwise.
*
* @since v1-alpha1
*/
ADAPTIVE
}