Sets the uniform variables inside the shader to modify the effect while the program is running. @webref rendering:shaders @webBrief Sets a variable within the shader @param name the name of the uniform variable to modify @param x first component of the variable to modify
(String name, int x)
| 397 | * @param x first component of the variable to modify |
| 398 | */ |
| 399 | public void set(String name, int x) { |
| 400 | setUniformImpl(name, UniformValue.INT1, new int[] { x }); |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * @param y second component of the variable to modify. The variable has to be declared with an array/vector type in the shader (i.e.: int[2], vec2) |
nothing calls this directly
no test coverage detected