Class ImageCache | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ImageCache

    Inheritance
    System.Object
    ImageCache
    Namespace: Unity.UIWidgets.painting
    Syntax
    public class ImageCache

    Properties

    currentSize

    Declaration
    public int currentSize { get; }
    Property Value
    Type Description
    System.Int32

    currentSizeBytes

    Declaration
    public int currentSizeBytes { get; }
    Property Value
    Type Description
    System.Int32

    maximumSize

    Declaration
    public int maximumSize { get; set; }
    Property Value
    Type Description
    System.Int32

    maximumSizeBytes

    Declaration
    public int maximumSizeBytes { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    clear()

    Declaration
    public void clear()

    evict(Object)

    Declaration
    public bool evict(object key)
    Parameters
    Type Name Description
    System.Object key
    Returns
    Type Description
    System.Boolean

    putIfAbsent(Object, Func<ImageStreamCompleter>, ImageErrorListener)

    Declaration
    public ImageStreamCompleter putIfAbsent(object key, Func<ImageStreamCompleter> loader, ImageErrorListener onError = null)
    Parameters
    Type Name Description
    System.Object key
    System.Func<ImageStreamCompleter> loader
    ImageErrorListener onError
    Returns
    Type Description
    ImageStreamCompleter
    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