pixi.js
    Preparing search index...

    Interface CacheAsTextureOptionsAdvanced

    Options for caching a container as a texture.

    interface CacheAsTextureOptions {
        antialias?: boolean;
        resolution?: number;
    }
    Index

    Properties

    antialias?: boolean

    If true, the texture will be antialiased. This smooths out the edges of the texture.

    false
    
    resolution?: number

    The resolution of the texture. A higher resolution means a sharper texture but uses more memory. By default the resolution is 1 which is the same as the rendererers resolution.