Expand description

Support for compressing raw image data to basis-universal form

Structs

Enums

  • The color space the image to be compressed is encoded in. Using the correct color space will
  • Error codes that can be returned when encoding basis-universal data with a Compressor

Functions

  • The underlying C++ library requires that encoder_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.

Unions

  • A single uncompressed pixel value