public void UpdateTextureIndexes( Texture2DArray texArray ) { foreach ( List<ModelFace> faces in myFaces.Values ) foreach ( ModelFace face in faces ) face.UpdateTextureIndex( texArray ); }
public void UpdateTextureIndex( Texture2DArray texArray ) { myTextureIndex = texArray.GetTextureIndex( TextureName ); }