Documentation - v20.0.0-dev
    Preparing search index...

    An image of a TextureArray, e.g. of a sprite. Every user of the same key shares it: the array draws it once, from the source given the first time (the sources given after with that key are not read), and frees it with its last user.

    interface TextureImage {
        key: string;
        source: TextureImageSource;
    }
    Index

    Properties

    Properties

    key: string

    Identifies the image, e.g. its url, or its icon and label.

    Drawn to a layer of the array, its aspect kept, centred.