public void SetTextureEnabled( int index, bool value ) { while ( index >= textureEnabled.Count ) textureEnabled.Add( false ); textureEnabled[ index ] = value; }