HasShaderStage(ShaderType)
Checks whether this pass includes a shader stage.
Read time 1 minuteLast updated 2 months ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public bool HasShaderStage(ShaderType shaderType)
Parameters
The shader stage to check.
Returns
Type | Description |
|---|---|
| bool | Returns true if the shader stage is present in the pass. Otherwise, returns false. |