Expand description
Support for transcoding basis-universal form to GPU-friendly formats.
Structs§
- Decode
Flags - Flags that affect transcoding
- Image
Level Description - Lightweight description of a mip level on a single image within basis data
- LowLevel
Uastc Transcoder - Slice
Parameters Uastc - Transcode
Parameters - 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§
- Basis
Texture Format - The compression mode/format to use
- Basis
Texture Type - The type of data stored
- Transcode
Error - Error result from trying to transcode an image
- Transcoder
Block Format - The block format to transcode universal texture data into
- Transcoder
Texture Format - 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 Aliases§
- File
Info - Info for the complete basis file
- Image
Info - Info for an image within basis data
- Image
Level Info - Info for a mip level of a single image within basis data