Make mj_loadModelBuffer a public API.
PiperOrigin-RevId: 843105390 Change-Id: I4058471b4cf64995dd5ab43e9c8c24e322004b62
This commit is contained in:
committed by
Copybara-Service
parent
d0cf2a3ca5
commit
caec236b2f
@@ -6444,6 +6444,9 @@ public static unsafe extern void mj_saveModel(mjModel_* m, [MarshalAs(UnmanagedT
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern mjModel_* mj_loadModel([MarshalAs(UnmanagedType.LPStr)]string filename, void* vfs);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern mjModel_* mj_loadModelBuffer(void* buffer, int buffer_sz);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_deleteModel(mjModel_* m);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user