# enablePostProcessor

> When set to true, the AssetPostprocessor hooks will be called during texture generation. The following will hold for any AssetPostprocessors triggered through TextureGenerator.GenerateTexture - When the postprocessor is invoked AssetPostprocessor.assetPath will be set to the assetPath value in this structure. - The value of AssetPostprocessor.context will be set to null. - Only OnPostprocessTexture, OnPostprocessCubemap,... is called. The OnPreprocessTexture functions are not called.

## Definition

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

```csharp
public bool enablePostProcessor { get; set; }
```
