java.lang.Object
overrungl.glfw.Callbacks
Callbacks relies on preview features of the Java platform:
Callbacksrefers to one or more preview APIs:Arena,MemorySegment.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The GLFW window callbacks.
- Since:
 - 0.1.0
 - Author:
 - squid233
 
- 
Method Summary
Modifier and TypeMethodDescriptioncreate(MemorySegmentPREVIEW window) Creates an arena for the given window.static voidfree(MemorySegmentPREVIEW window) Closes the arena for the given window. 
- 
Method Details
- 
create
Creates an arena for the given window. The callbacks are available untilfree(MemorySegment)PREVIEW has been called.- Parameters:
 window- the window address.- Returns:
 - the arena.
 
 - 
free
Closes the arena for the given window.- Parameters:
 window- the window address.
 
 - 
 
Callbackswhen preview features are enabled.