MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / model_set_id

Method model_set_id

StereoKit/Native/NativeAPI.cs:346–346  ·  view source on GitHub ↗
(IntPtr model, string id)

Source from the content-addressed store, hash-verified

344 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_create_mem ([In] byte[] filename_utf8, [In] byte[] data, UIntPtr data_size, IntPtr shader);
345 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_create_file ([In] byte[] filename_utf8, IntPtr shader);
346 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_set_id (IntPtr model, string id);
347 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_get_id (IntPtr model);
348 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_addref (IntPtr model);
349 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_release (IntPtr model);

Callers 1

ModelClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected