Interface GLFWPlatform
- All Superinterfaces:
AutoCloseable, ca.nodeengine.quantum.platform.QuantumPlatform
public interface GLFWPlatform
extends ca.nodeengine.quantum.platform.QuantumPlatform
Adds support for GLFW through LWJGL3
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?> voidregisterWindow(long windowHandle) Registers a window with any platform that supports it.voidunregisterWindow(long windowHandle) Unregisters a window from any platform that supports it.default booleanMethods inherited from interface AutoCloseable
closeMethods inherited from interface ca.nodeengine.quantum.platform.QuantumPlatform
getInputDevices, initialize, isSupported, update
-
Field Details
-
GLFW_DEVICE
static final ca.nodeengine.quantum.InputDevice GLFW_DEVICE
-
-
Method Details
-
registerWindow
void registerWindow(long windowHandle) Registers a window with any platform that supports it.- Parameters:
windowHandle- the handle of the window to register
-
unregisterWindow
void unregisterWindow(long windowHandle) Unregisters a window from any platform that supports it.- Parameters:
windowHandle- the handle of the window to unregister
-
getApiClass
- Specified by:
getApiClassin interfaceca.nodeengine.quantum.platform.QuantumPlatform
-
usesGlobalDevice
default boolean usesGlobalDevice()- Specified by:
usesGlobalDevicein interfaceca.nodeengine.quantum.platform.QuantumPlatform
-