UNPKG

@pixi/basis

Version:

Loader for the *.basis supercompressed texture file format. This package also ships with the transcoder!

32 lines (21 loc) 558 B
# @pixi/basis This package contains the parser for *.basis files, and it also ships with the transcoder. ## Installation ```bash npm install @pixi/basis ``` ## Usage ```js import '@pixi/basis'; ``` ## CDN Install Via jsDelivr: ```html <!-- This script tag should be placed after pixi.min.js --> <script src="https://cdn.jsdelivr.net/npm/@pixi/basis@7.x/dist/basis.min.js"></script> ``` Or via unpkg: ```html <!-- This script tag should be placed after pixi.min.js --> <script src="https://unpkg.com/@pixi/basis@7.x/dist/basis.min.js"></script> ```