public void Dispose()
{
if ( m_Texture != null )
m_Texture.Dispose();
if ( m_SwatchMin.Texture != null )
m_SwatchMin.Texture.Dispose();
if ( m_SwatchMax.Texture != null )
m_SwatchMax.Texture.Dispose();
if ( m_SwatchAvg.Texture != null )
m_SwatchAvg.Texture.Dispose();
for ( int i=0; i < m_CustomSwatches.Length; i++ )
if ( m_CustomSwatches[i].Texture != null )
m_CustomSwatches[i].Texture.Dispose();
}