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

Method gradient_create_keys

StereoKit/Native/NativeAPI.cs:115–115  ·  view source on GitHub ↗
([In] GradientKey[] keys, int count)

Source from the content-addressed store, hash-verified

113
114 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr gradient_create ();
115 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr gradient_create_keys([In] GradientKey[] keys, int count);
116 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void gradient_add (IntPtr gradient, Color color, float position);
117 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void gradient_set (IntPtr gradient, int index, Color color, float position);
118 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void gradient_remove (IntPtr gradient, int index);

Callers 1

GradientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected