Opentk/Source/OpenTK/Platform/IGameWindow.cs

22 lines
462 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Platform
{
interface IGameWindow : INativeGLWindow
{
void Run();
void OnRenderFrame();
void OnUpdateFrame();
event UpdateFrameEvent UpdateFrame;
event RenderFrameEvent RenderFrame;
}
public delegate void UpdateFrameEvent(EventArgs e);
public delegate void RenderFrameEvent(EventArgs e);
}