Class TextureAnalysisContext
A context object passed by a TextureModule to a TextureModuleAnalyzer's Analyze() method.
Inherited Members
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 |