Fix paragraph rendering in texture docs.
PiperOrigin-RevId: 778803841 Change-Id: I17412b4d549984b361cab9edc20d04a708a71985
This commit is contained in:
committed by
Copybara-Service
parent
d2840ce665
commit
1c5d47c94b
+10
-11
@@ -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-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-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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user