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

Method model_create_mem

StereoKit/Native/NativeAPI.cs:344–344  ·  view source on GitHub ↗
([In] byte[] filename_utf8, [In] byte[] data, UIntPtr data_size, IntPtr shader)

Source from the content-addressed store, hash-verified

342 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_create ();
343 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_create_mesh (IntPtr mesh, IntPtr material);
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);

Callers 1

FromMemoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected