기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


SetShaderPassName(int, ShaderTagId)

Set the name of the shader pass.
읽는 시간 1분최근 업데이트: 23일 전

Definition

public void SetShaderPassName(int index, ShaderTagId shaderPassName)

Parameters

index

Index of the shader pass to use.

shaderPassName

Name of the shader pass.