Skip to content

Render

lerax.render.AbstractRenderer

Bases: eqx.Module

Base class for renderers.

open abstractmethod

open()

Open the rendering window.

close abstractmethod

close()

Close the rendering window.

draw abstractmethod

draw()

Render the current scene to the window.

as_array abstractmethod

as_array() -> Float[ArrayLike, 'H W 3']

Return the current frame as an RGB array.