# ShaderType

> Identifies the stage in the rendering pipeline.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Rendering](/engine/6000.5/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum ShaderType
```

## Remarks

Additional Resources: [ShaderType](/engine/6000.5/script-reference/unityeditor/rendering/shadertype.md), [IPreprocessShaders.OnProcessShader](/engine/6000.5/script-reference/unityeditor/build/ipreprocessshaders/onprocessshader.md), Shader programming documentation.

## Fields

| Value                                                                                        | Description                                    |
| -------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [Count](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/count.md)           | The number of ShaderTypes that Unity supports. |
| [Domain](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/domain.md)         | Identifier for the domain Shader stage.        |
| [Fragment](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/fragment.md)     | Identifier for the fragment Shader stage.      |
| [Geometry](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/geometry.md)     | Identifier for the geometry Shader stage.      |
| [Hull](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/hull.md)             | Identifier for the hull Shader stage.          |
| [RayTracing](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/raytracing.md) | Identifier for the ray tracing Shader stage.   |
| [Vertex](/engine/6000.5/script-reference/unityeditor/rendering/shadertype/vertex.md)         | Identifier for the vertex Shader stage.        |
