Shaders::switchTo()
Switches to the shader with the given name.
Syntax
Java
.switchTo(name)
.switchTo(index)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the name of the shader |
| index | double | the position of the shader |
Return
void
Switches to the shader with the given name.
.switchTo(name)
.switchTo(index)
| Name | Data Type | Description |
|---|---|---|
| name | String | the name of the shader |
| index | double | the position of the shader |
void