protected VisibleSurfaceBase(int width, int height) { Width = width; Height = height; VisibleSurfaces.Add(this); }
public virtual void Dispose() { GC.SuppressFinalize(this); VisibleSurfaces.Remove(this); Buffer.Dispose(); }