docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderAnalysisContext

    A context object passed by ShadersModule to a ShaderModuleAnalyzer's Analyze() method.

    Inheritance
    object
    AnalysisContext
    ShaderAnalysisContext
    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 ShaderAnalysisContext : AnalysisContext

    Fields

    AssetPath

    A path to a shader asset in the project.

    Declaration
    public string AssetPath
    Field Value
    Type Description
    string

    Shader

    The shader object to be analyzed.

    Declaration
    public Shader Shader
    Field Value
    Type Description
    Shader
    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)