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.
21 lines
466 B
C#
21 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);
|
|
}
|