Interface Host


public interface Host
  • Method Details

    • defaultFont

      default Font defaultFont()
      ImplSpec:
      The return value must be constant across invocations per instance.
    • gl

      dev.pfaff.glass.opengl.GL gl()
      ImplSpec:
      The return value must be constant across invocations per instance.
    • window

      IWindow window()
      ImplSpec:
      The return value must be constant across invocations per instance.
    • getClipboardString

      @Nullable String getClipboardString()
    • setClipboardString

      void setClipboardString(String string)
      Parameters:
      string - the string. This should not contain NUL bytes. If it does, it will be truncated at those bytes.
    • loadLibImage

      SymbolLookup loadLibImage()
    • contextForker

      default @Nullable ContextForker contextForker()
      Returns:
      the context forker, if supported by the host, or null otherwise.
      ImplSpec:
      The return value must be constant across invocations per instance.
    • profiler

      default Profiler profiler()