Interface RenderCallback
-
- All Known Implementing Classes:
Application,NestedRenderCallback
public interface RenderCallbackCallback interface for the renderer, that will receive events at various points in the renderer's life cycle. Interaction with the renderer should only take place from within these callback methods.This callback interface is intended for low-level interaction with the renderer. For most applications it will be sufficient to use
Application, which provides a more high-level application structure on top of the callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrender(Renderer renderer, GraphicsContext2D graphics)voidupdate(Renderer renderer, float deltaTime)
-
-
-
Method Detail
-
update
void update(Renderer renderer, float deltaTime)
-
render
void render(Renderer renderer, GraphicsContext2D graphics)
-
-