Interface Host
public interface Host
-
Method Summary
Modifier and TypeMethodDescriptiondefault Font
default @Nullable ForkedContext
Creates a new OpenGL context that has sharing enabled with the main context, if supported by the host.@Nullable String
dev.pfaff.glass.opengl.GL
gl()
default Profiler
profiler()
void
setClipboardString
(String string) window()
-
Method Details
-
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
- Parameters:
string
- the string. This should not contain NUL bytes. If it does, it will be truncated at those bytes.
-
loadLibImage
SymbolLookup loadLibImage() -
forkContext
Creates a new OpenGL context that has sharing enabled with the main context, if supported by the host.- Returns:
- the new context, if supported by the host, or
null
otherwise.
-
profiler
-