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

Method model_create_file

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

Source from the content-addressed store, hash-verified

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);
348 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_addref (IntPtr model);

Callers 1

FromFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected