Shader:hasStage

Returns whether the Shader has a given stage.

exists = Shader:hasStage(stage)

Arguments

NameTypeDescription
stageShaderStage The stage.

Returns

NameTypeDescription
existsboolean Whether the Shader has the stage.

See also