GetCustomShader(BuiltinShaderType)
Get custom shader used instead of a built-in shader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static Shader GetCustomShader(BuiltinShaderType type)
Parameters
Built-in shader type to query custom shader for.
Returns
Type | Description |
|---|---|
| Shader | The shader used. |
Remarks
Additional Resources: GraphicsSettings.SetCustomShader, GraphicsSettings.GetShaderMode, Graphics Settings.