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

Method sprite_get_id

StereoKit/Native/NativeAPI.cs:426–426  ·  view source on GitHub ↗
(IntPtr sprite)

Source from the content-addressed store, hash-verified

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);
429 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_draw (IntPtr sprite, in Matrix transform, Color32 color);

Callers 1

SpriteClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected