mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
8 lines
284 B
Python
8 lines
284 B
Python
from basisu_py import Encoder
|
|
|
|
enc = Encoder() # AUTO mode
|
|
print("Encoder backend:", enc.backend)
|
|
print("Native loaded:", enc._native is not None)
|
|
print("WASM loaded:", enc._wasm is not None)
|
|
print("Version:", enc._native.get_version() if enc._native else enc._wasm.get_version())
|