@goldenratio/karlib
    Preparing search index...

    Interface InitOptions

    interface InitOptions {
        canvas: OffscreenCanvas | HTMLCanvasElement;
        env: EnvProvider;
        pixel_perfect?: boolean;
        transparent_background?: boolean;
    }
    Index

    Properties

    canvas: OffscreenCanvas | HTMLCanvasElement
    pixel_perfect?: boolean

    set this to true for pixel art games

    false
    
    transparent_background?: boolean

    set this to true for transparent background Warning: browsers may not target GPU for rendering, when background is set to transparent. This will cause low performance.

    false