Package jgl.wt.awt.listener.callbacks
Interface ReshapeCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
onReshape
Sets the reshape callback for the current window (triggered when window dimensions are changed) void glutReshapeFunc (void (*func)(int width, int height))- Parameters:
target
- Rendering target componentwidth
- New width of window, pxheight
- New height of window, px
-