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