API

Function GetInternalFormatFromBasisFormat

  • Get the internal format to be passed to texImage2D corresponding to the .basis format value

    Parameters

    • basisFormat: number

      format chosen from GetSupportedTranscodeFormat

    • engine: AbstractEngine

    Returns number

    internal format corresponding to the Basis format