GetShaderMode(BuiltinShaderType)
Get built-in shader mode.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static BuiltinShaderMode GetShaderMode(BuiltinShaderType type)
Parameters
Built-in shader type to query.
Returns
Type | Description |
|---|---|
| BuiltinShaderMode | Mode used for built-in shader. |
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. For more information on migrating to URP, refer to Migrating from the Built-In Render Pipeline to URP.
Additional Resources: GraphicsSettings.SetShaderMode, GraphicsSettings.GetCustomShader, Graphics Settings.