Add support in mjModel for tagging textures with different roles, and use the slot index of a texture to designate its role.
PiperOrigin-RevId: 654030065 Change-Id: I34a5b132a7f91a6bb8f260500c1b9c128a03b596
This commit is contained in:
committed by
Copybara-Service
parent
8a8a44a4db
commit
796173170c
@@ -175,6 +175,17 @@ Texture types, specifying how the texture will be mapped. These values are used
|
||||
.. mujoco-include:: mjtTexture
|
||||
|
||||
|
||||
.. _mjtTextureRole:
|
||||
|
||||
mjtTextureRole
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Texture roles, specifying how the renderer should interpret the texture. Note that the MuJoCo built-in renderer only
|
||||
uses RGB textures. These values are used to store the texture index in the material's array ``m->mat_texid``.
|
||||
|
||||
.. mujoco-include:: mjtTextureRole
|
||||
|
||||
|
||||
.. _mjtIntegrator:
|
||||
|
||||
mjtIntegrator
|
||||
|
||||
Reference in New Issue
Block a user