Add graphics modes list to viewer protocol
PiperOrigin-RevId: 929157105 Change-Id: I75586c37bc94666800f7822654225bad0717e51c
This commit is contained in:
committed by
Copybara-Service
parent
6f0246baf3
commit
4be41d7b0b
@@ -21,6 +21,17 @@ from typing import Protocol
|
||||
import mujoco
|
||||
from mujoco.experimental.studio import ux
|
||||
|
||||
GFX_MODES = (
|
||||
'classic',
|
||||
'classic_headless',
|
||||
'opengl',
|
||||
'opengl_headless',
|
||||
'opengl_software',
|
||||
'vulkan',
|
||||
'vulkan_software',
|
||||
'webgl',
|
||||
)
|
||||
|
||||
|
||||
class Viewer(Protocol):
|
||||
"""Structural interface for any viewer."""
|
||||
|
||||
Reference in New Issue
Block a user