Clean up Texture type conversion utilities