Package com.jogamp.nativewindow
Interface UpstreamSurfaceHook.MutableSize
- All Superinterfaces:
UpstreamSurfaceHook
- All Known Implementing Classes:
DelegatedUpstreamSurfaceHookMutableSize
,GenericUpstreamSurfacelessHook
,UpstreamSurfaceHookMutableSize
,UpstreamWindowHookMutableSizePos
- Enclosing interface:
- UpstreamSurfaceHook
UpstreamSurfaceHook
w/ mutable size, allowing it's ProxySurface
user to resize.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.UpstreamSurfaceHook
UpstreamSurfaceHook.MutableSize
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setSurfaceSize
(int width, int height) Resizes the upstream surface.Methods inherited from interface com.jogamp.nativewindow.UpstreamSurfaceHook
create, destroy, getSurfaceHeight, getSurfaceWidth, getUpstreamSurface
-
Method Details
-
setSurfaceSize
void setSurfaceSize(int width, int height) Resizes the upstream surface.- Parameters:
width
- new width in pixel unitsheight
- new height in pixel units
-