Version: 2021.3
public bool HasShaderStage (Rendering.ShaderType shaderType);

参数

shaderType The shader stage to check.

返回

bool Returns true if the shader stage is present in the pass. Otherwise, returns false.

描述

Checks whether this pass includes a shader stage.