文档

Unity Engine


Unity Engine


SetShaderPassName(int, ShaderTagId)

Set the name of the shader pass.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetShaderPassName(int index, ShaderTagId shaderPassName)

Parameters

index

Index of the shader pass to use.

shaderPassName

Name of the shader pass.