TextureAnalysisContext
A context object passed by a TextureModule to a TextureModuleAnalyzer's Analyze() method.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.ProjectAuditor.Editor.Core
- Assembly: UnityEditor
- Inherits from: AnalysisContext
public class TextureAnalysisContext : AnalysisContext
Fields
Value | Description |
|---|---|
| Importer | The TextureImporter used to import the texture to be analyzed. |
| ImporterPlatformSettings | The texture importer's platform settings, matching the target analysis platform. |
| Name | The name of a texture asset in the project |
| Size | An estimate of the texture's runtime memory footprint. |
| Texture | The texture asset to be analyzed. |