Class ImageProvider<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ImageProvider<T>

    Inheritance
    System.Object
    ImageProvider
    ImageProvider<T>
    AssetBundleImageProvider
    FileImage
    MemoryImage
    NetworkImage
    Namespace: Unity.UIWidgets.painting
    Syntax
    public abstract class ImageProvider<T> : ImageProvider
    Type Parameters
    Name Description
    T

    Methods

    evict(ImageCache, ImageConfiguration)

    Declaration
    public IPromise<bool> evict(ImageCache cache = null, ImageConfiguration configuration = null)
    Parameters
    Type Name Description
    ImageCache cache
    ImageConfiguration configuration
    Returns
    Type Description
    IPromise<System.Boolean>

    load(T)

    Declaration
    protected abstract ImageStreamCompleter load(T key)
    Parameters
    Type Name Description
    T key
    Returns
    Type Description
    ImageStreamCompleter

    obtainKey(ImageConfiguration)

    Declaration
    protected abstract IPromise<T> obtainKey(ImageConfiguration configuration)
    Parameters
    Type Name Description
    ImageConfiguration configuration
    Returns
    Type Description
    IPromise<T>

    resolve(ImageConfiguration)

    Declaration
    public override ImageStream resolve(ImageConfiguration configuration)
    Parameters
    Type Name Description
    ImageConfiguration configuration
    Returns
    Type Description
    ImageStream
    Overrides
    ImageProvider.resolve(ImageConfiguration)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023