public void Dispose() { if ( m_Texture != null ) m_Texture.Dispose(); m_SwatchMin.Dispose(); m_SwatchMax.Dispose(); m_SwatchAvg.Dispose(); foreach ( Swatch CS in m_CustomSwatches ) CS.Dispose(); }