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. |
Returns whether the Shader has a given stage.
exists = Shader:hasStage(stage)
Name | Type | Description |
stage | ShaderStage | The stage. |
Name | Type | Description |
exists | boolean | Whether the Shader has the stage. |