using Dashboard.Drawing; namespace Dashboard.OpenGL.Drawing { public class GLShader(GLDeviceContext context, int handle) : IShader { public GLDeviceContext Context { get; } = context; public int Handle { get; } = handle; public void Dispose() { Context.Collector.DeleteProgram(Handle); } } }