docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureAnalysisContext

    A context object passed by a TextureModule to a TextureModuleAnalyzer's Analyze() method.

    Inheritance
    object
    AnalysisContext
    TextureAnalysisContext
    Inherited Members
    AnalysisContext.Params
    AnalysisContext.CreateIssue(IssueCategory, string, params object[])
    AnalysisContext.CreateInsight(IssueCategory, string)
    AnalysisContext.IsDescriptorEnabled(Descriptor)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.ProjectAuditor.Editor.Core
    Assembly: Unity.ProjectAuditor.Editor.dll
    Syntax
    public class TextureAnalysisContext : AnalysisContext

    Fields

    Importer

    The TextureImporter used to import the texture to be analyzed.

    Declaration
    public TextureImporter Importer
    Field Value
    Type Description
    TextureImporter

    ImporterPlatformSettings

    The texture importer's platform settings, matching the target analysis platform.

    Declaration
    public TextureImporterPlatformSettings ImporterPlatformSettings
    Field Value
    Type Description
    TextureImporterPlatformSettings

    Name

    The name of a texture asset in the project

    Declaration
    public string Name
    Field Value
    Type Description
    string

    Size

    An estimate of the texture's runtime memory footprint.

    Declaration
    public long Size
    Field Value
    Type Description
    long

    Texture

    The texture asset to be analyzed.

    Declaration
    public Texture Texture
    Field Value
    Type Description
    Texture
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)