Interface WindowToolkit
- All Superinterfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()default InputProvidercreateInputProvider(WindowHandle window) Creates an input provider for the given window.createWindow(WindowDescriptor descriptor) void
-
Method Details
-
createWindow
-
pollEvents
void pollEvents() -
createInputProvider
Creates an input provider for the given window. Each toolkit knows its platform (GLFW, SDL3, Canvas) and returns the appropriate provider. Returns null if this toolkit does not support input. -
close
void close()- Specified by:
closein interfaceAutoCloseable
-