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

Method sh_create

StereoKit/Native/NativeAPI.cs:126–126  ·  view source on GitHub ↗
([In] SHLight[] lights, int light_count)

Source from the content-addressed store, hash-verified

124 ///////////////////////////////////////////
125
126 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern SphericalHarmonics sh_create ([In] SHLight[] lights, int light_count);
127 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_brightness (ref SphericalHarmonics harmonics, float scale);
128 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_add (ref SphericalHarmonics harmonics, Vec3 light_dir, Vec3 light_color);
129 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color sh_lookup (in SphericalHarmonics harmonics, Vec3 normal);

Callers 1

FromLightsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected