Skip to content

Commit

Permalink
Added format size information for more formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Tales Sampaio committed Jan 29, 2020
1 parent bfaa60a commit f35b3e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ResourceChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ int GetBitsPerPixel(TextureFormat format)
return 4;
case TextureFormat.ETC_RGB4:// ETC (GLES2.0) 4 bits/pixel compressed RGB texture format.
return 4;
case TextureFormat.ETC2_RGBA8:
return 8;
case TextureFormat.EAC_R:
return 4;
case TextureFormat.BGRA32:// Format returned by iPhone camera
return 32;
}
Expand Down

0 comments on commit f35b3e2

Please sign in to comment.