Format header to conform to style guide.

Also moves some types to the mjrender.h header.

PiperOrigin-RevId: 929189125
Change-Id: I19e5598210898c0defb663c60d7ecfb9a19bcd38
This commit is contained in:
Haroon Qureshi
2026-06-09 07:42:23 -07:00
committed by Copybara-Service
parent 991c131d59
commit e6e5229126
17 changed files with 549 additions and 521 deletions
+58 -2
View File
@@ -10,7 +10,7 @@ MuJoCo defines a large number of types:
- Enums used in :ref:`mjModel<tyModelEnums>`.
- Enums used in :ref:`mjData<tyDataEnums>`.
- Enums for abstract :ref:`visualization<tyVisEnums>`.
- Enums used by the :ref:`openGL renderer<tyRenderEnums>`.
- Enums used by the :ref:`renderer<tyRenderEnums>`.
- Enums used by the :ref:`mjUI<tyUIEnums>` user interface package.
- Enums used by :ref:`engine plugins<tyPluginEnums>`.
- Enums used for :ref:`procedural model manipulation<tySpecEnums>`.
@@ -31,7 +31,7 @@ MuJoCo defines a large number of types:
- :ref:`Auxiliary struct types<tyAuxStructure>`, also used by the engine.
- Structs for collecting :ref:`simulation statistics<tyStatStructure>`.
- Structs for :ref:`abstract visualization<tyVisStructure>`.
- Structs used by the :ref:`openGL renderer<tyRenderStructure>`.
- Structs used by the :ref:`renderer<tyRenderStructure>`.
- Structs used by the :ref:`UI framework<tyUIStructure>`.
- Structs used for :ref:`procedural model manipulation<tySpecStructure>`.
- Structs used by :ref:`engine plugins<tyPluginStructure>`.
@@ -705,6 +705,51 @@ These are the possible font types.
.. mujoco-include:: mjtFont
.. _mjrPixelFormat:
mjrPixelFormat
~~~~~~~~~~~~~~
There are the possible values:
.. mujoco-include:: mjrPixelFormat
.. _mjrVertexAttributeUsage:
mjrVertexAttributeUsage
~~~~~~~~~~~~~~~~~~~~~~~
There are the possible values:
.. mujoco-include:: mjrVertexAttributeUsage
.. _mjrVertexAttributeType:
mjrVertexAttributeType
~~~~~~~~~~~~~~~~~~~~~~
There are the possible values:
.. mujoco-include:: mjrVertexAttributeType
.. _mjrIndexType:
mjrIndexType
~~~~~~~~~~~~
There are the possible values:
.. mujoco-include:: mjrIndexType
.. _mjrMeshPrimitiveType:
mjrMeshPrimitiveType
~~~~~~~~~~~~~~~~~~~~
There are the possible values:
.. mujoco-include:: mjrMeshPrimitiveType
.. _tyUIEnums:
@@ -1164,6 +1209,17 @@ This structure specifies a rectangle.
.. mujoco-include:: mjrRect
.. _mjrVertexAttribute:
mjrVertexAttribute
~~~~~~~~~~~~~~~~~~
This structure specifies the attributes for a single vertex.
.. mujoco-include:: mjrVertexAttribute
.. _mjrContext:
mjrContext