From 1c5d47c94b00c8ec1aaf4d40d396e8484e3efbd2 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Thu, 3 Jul 2025 01:41:33 -0700 Subject: [PATCH] Fix paragraph rendering in texture docs. PiperOrigin-RevId: 778803841 Change-Id: I17412b4d549984b361cab9edc20d04a708a71985 --- doc/XMLreference.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index c2e47857..cad3e45c 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -1472,20 +1472,19 @@ still be specified here but this functionality is now deprecated and will be rem :el-prefix:`asset/` |-| **texture** (*) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +This element creates a texture asset, which is then referenced from a :ref:`material ` asset, which +is finally referenced from a model element that needs to be textured. - This element creates a texture asset, which is then referenced from a :ref:`material ` asset, which - is finally referenced from a model element that needs to be textured. +The texture data can be loaded from files or can be generated by the compiler as a procedural texture. Because +different texture types require different parameters, only a subset of the attributes below are used for any given +texture. Provisions are provided for loading cube and skybox textures from individual image files. - The texture data can be loaded from files or can be generated by the compiler as a procedural texture. Because - different texture types require different parameters, only a subset of the attributes below are used for any given - texture. Provisions are provided for loading cube and skybox textures from individual image files. +Currently, three file formats are supported for loading textures: PNG, KTX, and a custom MuJoCo texture format. The +loader will use the extension of the file name to determine which format to use, defaulting to the custom format if +the extension is not recognized. Alternatively, the content_type attribute can be used to specify the format +explicitly. Only ``image/png``, ``image/ktx``, or ``image/vnd.mujoco.texture`` are supported. - Currently, three file formats are supported for loading textures: PNG, KTX, and a custom MuJoCo texture format. The - loader will use the extension of the file name to determine which format to use, defaulting to the custom format if - the extension is not recognized. Alternatively, the content_type attribute can be used to specify the format - explicitly. Only ``image/png``, ``image/ktx``, or ``image/vnd.mujoco.texture`` are supported. - - The custom MuJoCo format is assumed to be a binary file containing the following data: +The custom MuJoCo format is assumed to be a binary file containing the following data: .. code:: Text