• Rounds to next power of two.

    Parameters

    • v: number

      input value

    Returns number

    • next rounded power of two

    nextPow2

    PIXI.utils