Example #1
0
            protected override void Dispose(bool isDisposing)
            {
                base.Dispose(isDisposing);

                halfCircleBatch.Dispose();
                quadBatch.Dispose();
            }
            protected override void Dispose(bool isDisposing)
            {
                base.Dispose(isDisposing);

                quadBatch?.Dispose();
                triangleBatch?.Dispose();
            }
Example #3
0
            protected override void Dispose(bool isDisposing)
            {
                base.Dispose(isDisposing);

                // Children disposed via their source drawables
                Children = null;

                quadBatch?.Dispose();
            }
Example #4
0
            protected override void Dispose(bool isDisposing)
            {
                base.Dispose(isDisposing);

                vertexBatch.Dispose();
            }
Example #5
0
 protected override void OnUnload(EventArgs e)
 {
     batch.Dispose();
     batch2.Dispose();
     base.OnUnload(e);
 }