Interface WindowToolkit

All Superinterfaces:
AutoCloseable

public interface WindowToolkit extends AutoCloseable
  • Method Details

    • createWindow

      WindowHandle createWindow(WindowDescriptor descriptor)
    • pollEvents

      void pollEvents()
    • createInputProvider

      default InputProvider createInputProvider(WindowHandle window)
      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:
      close in interface AutoCloseable