Add mjmodel support for textures with different number of channels.

PiperOrigin-RevId: 653974959
Change-Id: Ia280e0bdb21027646249f104f21bedee792ba7e5
This commit is contained in:
Tom Erez
2024-07-19 05:21:16 -07:00
committed by Copybara-Service
parent 70ac76bb4b
commit e92af73cbf
11 changed files with 43 additions and 24 deletions
+2 -1
View File
@@ -5451,8 +5451,9 @@ public unsafe struct mjModel_ {
public int* tex_type;
public int* tex_height;
public int* tex_width;
public int* tex_nchannel;
public int* tex_adr;
public byte* tex_rgb;
public byte* tex_data;
public int* tex_pathadr;
public int* mat_texid;
public byte* mat_texuniform;