Module basis_universal::transcoding[][src]

Support for transcoding basis-universal form to GPU-friendly formats.

Structs

DecodeFlags

Flags that affect transcoding

ImageLevelDescription

Lightweight description of a mip level on a single image within basis data

TranscodeParameters

Extra parameters for transcoding an image

Transcoder

A transcoder that can convert compressed basis-universal data to compressed GPU formats or raw color data

Enums

BasisTextureFormat

The compression mode/format to use

BasisTextureType

The type of data stored

TranscodeError

Error result from trying to transcode an image

TranscoderTextureFormat

The texture format to transcode basis-universal data into

Functions

transcoder_init

The underlying C++ library requires that transcoder_init() has been called before a .basis file can be encoded. This function allows a user to do this early in the application explicitly. It is protected by a lock and AtomicBool flag so it is safe and cheap to call multiple times, and correctly handles multiple threads trying to initialize at the same time.

Type Definitions

FileInfo

Info for the complete basis file

ImageInfo

Info for an image within basis data

ImageLevelInfo

Info for a mip level of a single image within basis data