protected override void RayTrace() { base.RayTrace(); OptixContext["frame_number"].Set(mFrame++); OptixContext.Launch(0, (uint)Width, (uint)Height); }
protected override void RayTrace() { base.RayTrace(); OptixContext.Launch(0, (uint)Width, (uint)Height); }