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

Method gradient_add

StereoKit/Native/NativeAPI.cs:116–116  ·  view source on GitHub ↗
(IntPtr gradient, Color color, float position)

Source from the content-addressed store, hash-verified

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);
119 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int gradient_count (IntPtr gradient);

Callers 1

AddMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected