Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            GpuProgram.Initialize(device, DeviceWidth, DeviceHeight);

            while (true)
            {
                Render();
                FPS.Draw(device);
                device.WaitForPresent();
            }
        }