prepareForDraw

open fun prepareForDraw(engine: Engine)

Optionally override in subclasses for work that must be done each frame for specific types of Renderables. For example, ViewRenderable uses this to prevent the renderable from being visible until the view has been successfully drawn to an external texture, and initializing material parameters.