opengl
¶
OpenGLBackend
dataclass
¶
The classic MuJoCo viewer (mujoco.viewer.launch_passive): a native window drawn with OpenGL.
It needs a display, so over SSH it needs X11 forwarding. The viewer reads the model and data from its own thread, which is why the RuntimeManager holds viewer_lock while it steps physics.