ShaderType
Identifies the stage in the rendering pipeline.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
public enum ShaderType
Remarks
Additional Resources: ShaderType, IPreprocessShaders.OnProcessShader, Shader programming documentation.
Fields
Value | Description |
|---|---|
| Count | The number of ShaderTypes that Unity supports. |
| Domain | Identifier for the domain Shader stage. |
| Fragment | Identifier for the fragment Shader stage. |
| Geometry | Identifier for the geometry Shader stage. |
| Hull | Identifier for the hull Shader stage. |
| RayTracing | Identifier for the ray tracing Shader stage. |
| Vertex | Identifier for the vertex Shader stage. |