internal static unsafe (Texture2D, byte) Invoke(ImportanceTexture ImportanceTexture)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((ImportanceTexture *)(b + 0)) = ImportanceTexture;
                Main.GetProcessEvent(ImportanceSamplingLibrary.DefaultObject, BreakImportanceTexture_ptr, new IntPtr(p));;
                return(*((IntPtr *)(b + 80)), *(b + 88));
            }
        }
            internal static unsafe (Vector2D, LinearColor, float, float) Invoke(ImportanceTexture Texture, Vector2D Rand, int Samples, float Intensity)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((ImportanceTexture *)(b + 0)) = Texture;
                *((Vector2D *)(b + 80))         = Rand;
                *((int *)(b + 88))   = Samples;
                *((float *)(b + 92)) = Intensity;
                Main.GetProcessEvent(ImportanceSamplingLibrary.DefaultObject, ImportanceSample_ptr, new IntPtr(p));;
                return(*((Vector2D *)(b + 96)), *((LinearColor *)(b + 104)), *((float *)(b + 120)), *((float *)(b + 124)));
            }
        }