Add flag for depth rendering.
PiperOrigin-RevId: 846203691 Change-Id: I5ec494446bcfc1f7c81536a87dd24f9967973563
This commit is contained in:
committed by
Copybara-Service
parent
47e35e632f
commit
7190bd4912
@@ -12,6 +12,7 @@ General
|
||||
- The type of the ``sig`` (signature) argument of :ref:`mj_stateSize` and related functions has been changed from
|
||||
``unsigned int`` to ``int``. Before this change, invalid negative arguments passed to this function would result in
|
||||
a silent implicit cast, now negativity will trigger an error.
|
||||
- Added a :ref:`depth<mjtRndFlag>` rendering flag
|
||||
|
||||
MJX
|
||||
^^^
|
||||
|
||||
@@ -2829,6 +2829,7 @@ typedef enum mjtRndFlag_ { // flags enabling rendering effects
|
||||
mjRND_SKYBOX, // skybox
|
||||
mjRND_FOG, // fog
|
||||
mjRND_HAZE, // haze
|
||||
mjRND_DEPTH, // depth
|
||||
mjRND_SEGMENT, // segmentation with random color
|
||||
mjRND_IDCOLOR, // segmentation with segid+1 color
|
||||
mjRND_CULL_FACE, // cull backward faces
|
||||
|
||||
Reference in New Issue
Block a user