Return true if the KTX2 container has alpha.
(self, ktx2_handle: KTX2Handle)
| 233 | return self.ktx2_get_basis_tex_format(ktx2_handle.handle) |
| 234 | |
| 235 | def has_alpha(self, ktx2_handle: KTX2Handle) -> bool: |
| 236 | """ |
| 237 | Return true if the KTX2 container has alpha. |
| 238 | """ |
| 239 | return bool(self.ktx2_has_alpha(ktx2_handle.handle)) |
| 240 | |
| 241 | # ---- Format flags ---- |
| 242 | def is_hdr(self, ktx2_handle): return bool(self.ktx2_is_hdr(ktx2_handle.handle)) |