Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSettings.SetShaderPassName

切换到手册
public void SetShaderPassName (int index, Experimental.Rendering.ShaderPassName shaderPassName);

参数

index要使用的着色器通道的索引。
shaderPassName着色器通道的名称。

描述

设置此绘制调用可渲染的着色器通道。