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

Method gradient_create

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

Source from the content-addressed store, hash-verified

112 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color color_to_gamma (Color srgb_linear);
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);

Callers 1

GradientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected