@webref rendering:shaders @brief 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)
| 388 | * @param x first component of the variable to modify |
| 389 | */ |
| 390 | public void set(String name, int x) { |
| 391 | setUniformImpl(name, UniformValue.INT1, new int[] { x }); |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * @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