private GetTextureFormatString ( TextureFormat format ) : string | ||
format | TextureFormat | |
return | string |
public static extern string GetTextureFormatString(TextureFormat format);
[MethodImpl(MethodImplOptions.InternalCall)]
public override string GetInfoString() { Texture texture = base.target as Texture; string str = texture.width.ToString() + "x" + texture.height.ToString(); TextureFormat textureFormat = TextureUtil.GetTextureFormat(texture); return(str + " " + TextureUtil.GetTextureFormatString(textureFormat)); }