Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderData.Pass.HasShaderStage

Declaration

public bool HasShaderStage(Rendering.ShaderType shaderType);

Parameters

shaderType The shader stage to check.

Returns

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

Description

Checks whether this pass includes a shader stage.