Move texture block copy out of render context so it can be modified online via mjmodel

This commit is contained in:
Pedro Morais
2026-07-09 11:08:43 -04:00
parent bdeb7e7c4d
commit d43c3ed426
12 changed files with 54 additions and 95 deletions
+3
View File
@@ -229,6 +229,8 @@ typedef struct mjvGeom_ { // abstract geom
int objid; // mujoco object id; -1 for decor
int category; // visual category
int matid; // material id; -1: no textured material
int texid; // texture id; -1: none
int texuniform; // uniform cube mapping
int texcoord; // mesh or flex geom has texture coordinates
int segid; // segmentation id; -1: not shown
@@ -243,6 +245,7 @@ typedef struct mjvGeom_ { // abstract geom
float specular; // specular coef
float shininess; // shininess coef
float reflectance; // reflectance coef
float texrepeat[2]; // texture repetition for 2d mapping
char label[100]; // text label