Adding uncompressed pixel support to transcoder wrappers in webgl/transcoder/basis_wrappers.cpp. Note uncompressed hasn't been tested yet, but I've verified that compressed still works.

This commit is contained in:
richgel999
2019-09-19 21:39:57 -07:00
parent 33bf902b01
commit c2869ffecc
5 changed files with 104 additions and 48 deletions
+1
View File
@@ -76,6 +76,7 @@ namespace basist
const char* basis_get_texture_type_name(basis_texture_type tex_type);
bool basis_transcoder_format_is_uncompressed(transcoder_texture_format tex_type);
bool basis_block_format_is_uncompressed(block_format tex_type);
uint32_t basis_get_uncompressed_bytes_per_pixel(transcoder_texture_format fmt);
class basisu_transcoder;