Package com.lapissea.glfw
Enum GlfwWindow.SurfaceAPI
- java.lang.Object
-
- java.lang.Enum<GlfwWindow.SurfaceAPI>
-
- com.lapissea.glfw.GlfwWindow.SurfaceAPI
-
- All Implemented Interfaces:
Serializable,Comparable<GlfwWindow.SurfaceAPI>
- Enclosing class:
- GlfwWindow
public static enum GlfwWindow.SurfaceAPI extends Enum<GlfwWindow.SurfaceAPI>
-
-
Field Summary
Fields Modifier and Type Field Description protected inthandle
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlfwWindow.SurfaceAPIvalueOf(String name)Returns the enum constant of this type with the specified name.static GlfwWindow.SurfaceAPI[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPENGL
public static final GlfwWindow.SurfaceAPI OPENGL
-
OPENGL_ES
public static final GlfwWindow.SurfaceAPI OPENGL_ES
-
VULKAN
public static final GlfwWindow.SurfaceAPI VULKAN
-
-
Method Detail
-
values
public static GlfwWindow.SurfaceAPI[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlfwWindow.SurfaceAPI c : GlfwWindow.SurfaceAPI.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlfwWindow.SurfaceAPI valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-