phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias Features

    Determines the features of the browser running this Phaser Game instance. These values are read-only and populated during the boot sequence of the game. They are then referenced by internal game systems and are available for you to access via this.sys.game.device.features from within any Scene.

    type Features = {
        canvas: boolean;
        canvasBitBltShift: boolean | null;
        file: boolean;
        fileSystem: boolean;
        getUserMedia: boolean;
        littleEndian: boolean;
        localStorage: boolean;
        pointerLock: boolean;
        stableSort: boolean;
        support32bit: boolean;
        vibration: boolean;
        webGL: boolean;
        worker: boolean;
    }
    Index

    Properties

    canvas: boolean

    Is canvas available?

    canvasBitBltShift: boolean | null

    True if canvas supports a 'copy' bitblt onto itself when the source and destination regions overlap.

    file: boolean

    Is file available?

    fileSystem: boolean

    Is fileSystem available?

    getUserMedia: boolean

    Does the device support the getUserMedia API?

    littleEndian: boolean

    Is the device big or little endian? (only detected if the browser supports TypedArrays)

    localStorage: boolean

    Is localStorage available?

    pointerLock: boolean

    Is Pointer Lock available?

    stableSort: boolean

    Is Array.sort stable?

    support32bit: boolean

    Does the device context support 32bit pixel manipulation using array buffer views?

    vibration: boolean

    Does the device support the Vibration API?

    webGL: boolean

    Is webGL available?

    worker: boolean

    Is worker available?