From de0d5cb8a8e23f4e278ef088da3ca120eca0ad8e Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 21 Jul 2024 16:43:07 +0200 Subject: [PATCH] Add @since tag to VsyncMode javadoc --- .../sosengine/graphics/types/VsyncMode.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/VsyncMode.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/VsyncMode.java index f90befb..620c05e 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/VsyncMode.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/VsyncMode.java @@ -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 }