MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / decodeAstc

Method decodeAstc

interface/js_binding/ktx_wrapper.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers 1

runTestsFunction · 0.80

Calls 2

ktxTexture2_DecodeAstcFunction · 0.85
ktxErrorStringFunction · 0.85

Tested by

no test coverage detected