Shader:hasStage
EditReturns whether the Shader has a given stage.
exists = Shader:hasStage(stage)
Arguments
Name | Type | Description |
stage | ShaderStage | The stage. |
Returns
Name | Type | Description |
exists | boolean | Whether the Shader has the stage. |
See also
Shader:getType
Shader