pixi.js
    Preparing search index...

    Type Alias TextureResourceOrOptionsAdvanced

    TextureResourceOrOptions:
        | ImageResource
        | TextureSourceOptions<ImageResource>
        | BufferSourceOptions
        | CanvasSourceOptions
        | PixiMixins.TextureSourceResources[keyof PixiMixins.TextureSourceResources]

    The type of resource or options that can be used to create a texture source.

    Opt-in packages widen this union by augmenting PixiMixins.TextureSourceResources (see RenderingMixins.d.ts). For example, importing pixi.js/html-source adds support for live Elements and ElementImage snapshots.