Enum ShaderProgramType ​
Namespace: ValveResourceFormat.Renderer.Shaders
Assembly: Renderer.dll
Shader stage types in the rendering pipeline.
csharp
public enum ShaderProgramTypeExtension Methods ​
GLGraphicsTypeExtensions.ToGLShaderType(ShaderProgramType)
Fields ​
| Name | Value | Description |
|---|---|---|
Vertex | 0 | Vertex shader stage. |
Fragment | 1 | Fragment (pixel) shader stage. |
Compute | 2 | Compute shader stage. |
Max | 3 | Sentinel value equal to the number of shader stages. |

