phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks if the given width and height are a power of two. Useful for checking texture dimensions.

      Parameters

      • width: number

        The width.

      • height: number

        The height.

      Returns boolean