# TextureGenerationOutput

> Structure that represents the result from calling TextureGenerator.GenerateTexture.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.AssetImporters](/engine/6000.5/script-reference/unityeditor/assetimporters.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct TextureGenerationOutput
```

## Properties

| Property                                                                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [importInspectorWarnings](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/importinspectorwarnings.md) | Warnings that should be shown in Inspector after generating a Texture.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [importWarnings](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/importwarnings.md)                   | [TextureGenerator.GenerateTexture](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerator/generatetexture.md) reports warnings when you generate a Texture.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [output](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/output.md)                                   | This is a [Texture](/engine/6000.5/script-reference/unityengine/texture.md) generated by [TextureGenerator.GenerateTexture](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerator/generatetexture.md) based on the colorBuffer argument passed to that function. The actual texture type (2D, 3D, cubemap,..) depends on the [TextureImporterSettings.textureShape](/engine/6000.5/script-reference/unityeditor/textureimportersettings/textureshape.md) settings of the generator.                                                                                                                                                                                                                                                                                                                                     |
| [sprites](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/sprites.md)                                 | [Sprite](/engine/6000.5/script-reference/unityengine/sprite.md)s that are generated by [TextureGenerator.GenerateTexture](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerator/generatetexture.md) from spriteSheetData.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [texture](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/texture.md)                                 | This is a [Texture2D](/engine/6000.5/script-reference/unityengine/texture2d.md) generated by [TextureGenerator.GenerateTexture](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerator/generatetexture.md) based on the colorBuffer argument passed to that function. If the generator is configured to generate a non-2D texture (cubemap, 3D, ...), this member will always be null. To get the result for an arbitrary texture type, please use the [TextureGenerationOutput.output](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/output.md) property. We recommend always using [TextureGenerationOutput.output](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/output.md)  as the texture property will deprecated/removed in the future. |
| [thumbNail](/engine/6000.5/script-reference/unityeditor/assetimporters/texturegenerationoutput/thumbnail.md)                             | Thumbnail version of the generated texture. This may be null depending on the import settings. E.g. cubemaps will not return a thumbnail.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
