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

Method getHasAlpha

interface/basisu_c_binding/src/basisu_c_binding.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39uint32_t basis_file::getHasAlpha() {
40 assert(m_magic == MAGIC);
41 if (m_magic != MAGIC)
42 return 0;
43
44 return fileinfo.m_has_alpha_slices;
45}
46
47uint32_t basis_file::getNumImages() {
48 assert(m_magic == MAGIC);

Callers 3

ktx_basisu_getHasAlphaFunction · 0.45
transcodeFunction · 0.45
test_texture_setFunction · 0.45

Calls 1

assertFunction · 0.85

Tested by 1

test_texture_setFunction · 0.36