# IPreprocessComputeShaders

> Implement this interface to receive a callback before a compute shader is compiled.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEditor.Build](/engine/6000.7/script-reference/unityeditor/build.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public interface IPreprocessComputeShaders : IOrderedCallback
```

## Remarks

For more information about build callbacks, refer to [Use build callbacks](/engine/6000.7/manual/building-and-publishing/build-customize-build-pipeline/build-callbacks.md)

## Methods

| Method                                                                                                                          | Description                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [OnProcessComputeShader](/engine/6000.7/script-reference/unityeditor/build/ipreprocesscomputeshaders/onprocesscomputeshader.md) | Implement this interface to receive a callback before Unity compiles a compute shader kernel into a build. |

## Inheritance

**Inherited Members:**

* [IOrderedCallback.callbackOrder](/engine/6000.7/script-reference/unityeditor/build/iorderedcallback/callbackorder.md)
