IPreprocessComputeShaders
Implement this interface to receive a callback before a compute shader is compiled.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Interface
- Namespace: UnityEditor.Build
- Assembly: UnityEditor
public interface IPreprocessComputeShaders : IOrderedCallback
Remarks
For more information about build callbacks, refer to Use build callbacks.
Methods
Method | Description |
|---|---|
| OnProcessComputeShader | Implement this interface to receive a callback before Unity compiles a compute shader kernel into a build. |