ETC Native Decoding Support

This commit is contained in:
Ishotihadus
2018-05-27 17:17:37 +09:00
parent ac7b0a2806
commit 6a0cc560f5
5 changed files with 342 additions and 195 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ obj.key
You can get image data directly from Texture2D object. Output object's class is `ChunkyPNG::Image`.
Some basic texture formats (15, 7, 9, 1320, 22, 62, and 63), DXT1 (10), DXT5 (12), ETC_RGB4 (34), ETC2 (45, 47), and ASTC (4859) are available.
Some basic texture formats (15, 7, 9, 1320, 22, 62, and 63), DXT1 (10), DXT5 (12), ETC_RGB4 (34), ETC2 (4547), and ASTC (4859) are available.
```ruby
require 'mikunyan/decoders'