Package limn.backend
Interface FrameCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Renders one frame of a window. Invoked on the UI thread by the backend loop
whenever the window is dirty (
NativeWindow.requestFrame(), damage,
resize); Limn redraws per frame instead of tracking dirty regions, and
the loop sleeps when nothing is dirty.-
Method Summary
-
Method Details
-
onFrame
- Parameters:
renderer- the window's renderer, valid only during this callframe- physical framebuffer size and content scale for this frame
-