using System.Drawing; using Dashboard.Windowing; namespace Dashboard.OpenGL { /// /// Interface for GL context operations /// public interface IGLContext : IDeviceContext { /// /// The associated group for context sharing. /// /// -1 assigns no group. public int ContextGroup { get; } /// /// The size of the framebuffer in pixels. /// public Size FramebufferSize { get; } /// /// Called when the context is disposed. /// event Action Disposed; /// /// Activate this OpenGL Context. /// void MakeCurrent(); } }