Hello, I am trying to determine a texture format at runtime. It looks like the SDK doesn't expose textureFormat on the Texture or Texture2D object type. Is there any other way?
if(TextureFormat.ARGB32 == renderer.material.mainTexture.textureFormat) // compiler error
{
print("It is a ARGB32 Texture");
}