preRender

open override fun preRender(camera: Camera)

Invoked before render. Calculations or logic that needs to be done before rendering such as flushing the batch or starting a frame buffer. The Camera can be used for culling.

Parameters

camera

the camera node