preRender

open fun preRender(context: DrawContext, mouseX: Int, mouseY: Int, delta: Float)

Pushes the current matrix and moves the content rendering back to make room for the popups. This needs to be called with postRender or the game will crash from a non-empty matrix stack.

Generally the render flow should be

  1. misc. preparation

  2. preRender

  3. render main screen content

  4. postRender

Author

fzzyhmstrs

Since

0.6.7

See also