Beispiel #1
0
            internal unsafe static void RequestLights(Light[] lights, System.IntPtr outLightsPtr, int outLightsCount)
            {
                var outLights = NativeArrayUnsafeUtility.ConvertExistingDataToNativeArray <LightDataGI>((void *)outLightsPtr, outLightsCount, Allocator.None);

                s_RequestLightsDelegate(lights, outLights);
            }