Sets a shader parameter with the given name to the provided value. If no parameter is found, nothing happens, and the value is not set! Name of the shader parameter. New value for the parameter.
(string name, int value)
| 400 | /// <param name="name">Name of the shader parameter.</param> |
| 401 | /// <param name="value">New value for the parameter.</param> |
| 402 | public void SetInt(string name, int value) |
| 403 | => NativeAPI.material_set_int(_inst, name, value); |
| 404 | |
| 405 | /// <summary>Sets a shader parameter with the given name to the |
| 406 | /// provided value. If no parameter is found, nothing happens, and |