protected override void dispose(bool disposeManagedResources)
{
if (!this.IsDisposed)
{
if (disposeManagedResources)
{
if (this.vertexData != null)
{
if (!this.vertexData.IsDisposed)
this.vertexData.Dispose();
this.vertexData = null;
}
if (this.indexData != null)
{
if (!this.indexData.IsDisposed)
this.indexData.Dispose();
this.indexData = null;
}
}
}
base.dispose(disposeManagedResources);
}
}