Function premultiplyRgba

  • Parameters

    • rgb: number[] | Float32Array
    • alpha: number
    • Optionalout: Float32Array
    • Optionalpremultiply: boolean

    Returns Float32Array

    PIXI.utils

    premultiplyRgba

    since 7.2.0

    PIXI.Color.premultiply