protected override void dispose( bool disposeManagedResources )
{
if ( !this.IsDisposed )
{
if ( disposeManagedResources )
{
// Dispose managed resources.
if ( this.renderOperation != null )
{
//if (!this.renderOperation.IsDisposed)
// this.renderOperation.Dispose();
this.renderOperation = null;
}
if (this.skelAnimVertexData != null)
{
if (!this.skelAnimVertexData.IsDisposed)
this.skelAnimVertexData.Dispose();
this.skelAnimVertexData = null;
}
}
// There are no unmanaged resources to release, but
// if we add them, they need to be released here.
}
base.dispose(disposeManagedResources);
}