Class ShaderModuleAnalyzer
Abstract base class for an Analyzer to be invoked by ShaderModule
Inherited Members
Namespace: Unity.ProjectAuditor.Editor.Core
Assembly: Unity.ProjectAuditor.Editor.dll
Syntax
public abstract class ShaderModuleAnalyzer : ModuleAnalyzer
Methods
Analyze(ShaderAnalysisContext)
Implement this method to detect Issues, construct ReportItem objects to describe them, and return them.
Declaration
public abstract IEnumerable<ReportItem> Analyze(ShaderAnalysisContext context)
Parameters
Type | Name | Description |
---|---|---|
ShaderAnalysisContext | context | Context object containing information necessary to perform analysis |
Returns
Type | Description |
---|---|
IEnumerable<ReportItem> | An enumerator for a collection of ReportItem objects |