docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method NeedsUpdate

    NeedsUpdate(Texture, bool)

    Check if contents of a texture needs to be updated in the atlas.

    Declaration
    public virtual bool NeedsUpdate(Texture texture, bool needMips = false)
    Parameters
    Type Name Description
    Texture texture

    Source texture.

    bool needMips

    Texture uses mips.

    Returns
    Type Description
    bool

    True if texture needs update, false otherwise.

    NeedsUpdate(Texture, Texture, bool)

    Check if contents of a texture needs to be updated in the atlas.

    Declaration
    public virtual bool NeedsUpdate(Texture textureA, Texture textureB, bool needMips = false)
    Parameters
    Type Name Description
    Texture textureA

    Source texture A.

    Texture textureB

    Source texture B.

    bool needMips

    Texture uses mips.

    Returns
    Type Description
    bool

    True if texture needs update, false otherwise.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)