mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 19:55:32 +00:00
2f64fb372e
Updated the ExampleLauncher to not process exceptions. Updated the IExample interface to contain the Launch method. Updated examples and the ExampleLauncher according to the IExample interface. Synced with gl3 branch.
22 lines
466 B
C#
22 lines
466 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface IGameWindow : IDisposable
|
|
{
|
|
void Run();
|
|
|
|
void RenderFrame();
|
|
void UpdateFrame();
|
|
|
|
event UpdateFrameEvent UpdateFrameNotify;
|
|
event RenderFrameEvent RenderFrameNotify;
|
|
}
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
}
|