Module basis_universal::transcoding[][src]

Structs

DecodeFlags
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
BasisTextureType
TextureFormat
TranscodeError

Error result from trying to transcode an image

TranscoderBlockFormat
TranscoderTextureFormat

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

ImageInfo

Info for an image within basis data

ImageLevelInfo

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