Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface ImageLoaderOptions

    Specialized configuration options for image loaders.

    interface ImageLoaderOptions {
        assetManager?: AssetManager;
        basePath?: string;
        flipY?: boolean;
    }

    Hierarchy (View Summary)

    Index
    assetManager?: AssetManager

    The AssetManager instance to fetch/cache resources through. Defaults to a fresh, private instance (not the deprecated process-wide singleton) -- pass RendererContext.assetManager to share a cache/baseUrl/headers with the rest of an engine instance.

    basePath?: string

    The base path to prepend to all resource URLs. Defaults to "".

    flipY?: boolean

    Whether the image should be flipped vertically during loading/decoding.