Package dev.prozilla.pine.common
Interface IntEnum
- All Known Implementing Classes:
CursorMode,CursorType,GamepadAxis,GamepadButton,Key,MouseButton,Shader.Type,Texture.Filter,Texture.Wrap,VertexBufferObject.Target,VertexBufferObject.Usage,WindowHint
public interface IntEnum
An enum that is represented by integers.
Often used by enums that wrap around GLFW constants.
-
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the integer value of this instance.default FixedIntPropertyReturns an int property whose value is the integer value of this instance.
-
Method Details
-
getValue
int getValue()Returns the integer value of this instance.- Returns:
- The integer value.
-
toProperty
Returns an int property whose value is the integer value of this instance.- Returns:
- An int property with the value of this instance.
-