Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
uint32_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
47
uint32_t basis_file::getNumImages() {
48
assert(m_magic == MAGIC);
Callers
3
ktx_basisu_getHasAlpha
Function · 0.45
transcode
Function · 0.45
test_texture_set
Function · 0.45
Calls
1
assert
Function · 0.85
Tested by
1
test_texture_set
Function · 0.36