Chevron Down
Table of Contents
Chevron DownAPI Reference

Overview

The @loaders.gl/basis module contains a loader for Basis encoded compressed textures (images).

Installation

npm install @loaders.gl/basis
npm install @loaders.gl/core

API

LoaderDescription
BasisLoader

Compressed Texture API

A set of functions that can extract information from "unparsed" binary memory representation of certain compressed texture image formats. These functions are intended to be called on raw ArrayBuffer data, before the BasisLoader parses it and converts it to a parsed image type.

TBA

FunctionDescription

Return Types

The BasisLoader returns Array of Array of ArrayBuffer

TODO - Node.js handling - expand to normal image?

See BasisLoader for more details on options etc.