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

Method sprite_set_id

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

Source from the content-addressed store, hash-verified

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);
428 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern float sprite_get_aspect (IntPtr sprite);

Callers 1

SpriteClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected