Shaders::switchTo()
Examples
Syntax
Java
.switchTo(name)
.switchTo(index)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the shader to use, alone |
| index | double | the shader to use alone, counting from 0; wraps around |
Return
void
.switchTo(name)
.switchTo(index)
| Name | Data Type | Description |
|---|---|---|
| name | String | the shader to use, alone |
| index | double | the shader to use alone, counting from 0; wraps around |
void