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

Method sprite_create_file

StereoKit/Native/NativeAPI.cs:424–424  ·  view source on GitHub ↗
([In] byte[] filename_utf8, SpriteType type = SpriteType.Atlased, string atlas_id = "default")

Source from the content-addressed store, hash-verified

422 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sprite_find (string id);
423 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sprite_create (IntPtr sprite, SpriteType type = SpriteType.Atlased, string atlas_id = "default");
424 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sprite_create_file([In] byte[] filename_utf8, SpriteType type = SpriteType.Atlased, string atlas_id = "default");
425 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_set_id (IntPtr sprite, string id);
426 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sprite_get_id (IntPtr sprite);
427 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_release (IntPtr sprite);

Callers 1

FromFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected