API

Class BasisTranscodeConfiguration

Configuration options for the Basis transcoder

Index
loadMipmapLevels?: boolean

If mipmap levels should be loaded for transcoded images (Default: true)

loadSingleImage?: number

Index of a single image to load (Default: all images)

supportedCompressionFormats?: {
    astc?: boolean;
    bc7?: boolean;
    etc1?: boolean;
    etc2?: boolean;
    pvrtc?: boolean;
    s3tc?: boolean;
}

Supported compression formats used to determine the supported output format of the transcoder

Type Declaration

  • Optionalastc?: boolean

    astc compression format

  • Optionalbc7?: boolean

    bc7 compression format

  • Optionaletc1?: boolean

    etc1 compression format

  • Optionaletc2?: boolean

    etc2 compression format

  • Optionalpvrtc?: boolean

    pvrtc compression format

  • Optionals3tc?: boolean

    s3tc compression format