Shaders::add()
Adds a shader, or returns the one of that name added before.
Examples
Syntax
Java
.add(name, fragmentPath)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the shader's name |
| fragmentPath | String | the file with the shader's body |
Return
Shader