ドキュメント

Unity Engine

Unity Engine

SetCustomShader(BuiltinShaderType, Shader)

Set custom shader to use instead of a built-in shader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static void SetCustomShader(BuiltinShaderType type, Shader shader)

Parameters

Built-in shader type to set custom shader to.

shader

The shader to use.

Remarks

This is only used when built-in shader is set to BuiltinShaderMode.UseCustom mode; see GraphicsSettings.SetShaderMode.