| 257 | } |
| 258 | |
| 259 | ktx_error_code_e decodeAstc() |
| 260 | { |
| 261 | ktx_error_code_e result; |
| 262 | result = ktxTexture2_DecodeAstc(*this); |
| 263 | if (result != KTX_SUCCESS) { |
| 264 | std::cout << "ERROR: Failed to decodeAstc: " << ktxErrorString(result) << std::endl; |
| 265 | } |
| 266 | return result; |
| 267 | } |
| 268 | |
| 269 | // NOTE: WebGLTexture objects are completely opaque so the option of passing in the texture |
| 270 | // to use is not viable. |
no test coverage detected