Module basis_universal::transcoding
source · Expand description
Support for transcoding basis-universal form to GPU-friendly formats.
Structs
- Flags that affect transcoding
- Lightweight description of a mip level on a single image within basis data
- Extra parameters for transcoding an image
- A transcoder that can convert compressed basis-universal data to compressed GPU formats or raw color data
Enums
- The compression mode/format to use
- The type of data stored
- Error result from trying to transcode an image
- The block format to transcode universal texture data into
- The texture format to transcode basis-universal data into
Functions
- 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
- Info for the complete basis file
- Info for an image within basis data
- Info for a mip level of a single image within basis data