Compute.SetBool
void SetBool(string name, bool value)
Set a shader parameter by name! The name must match a variable in the HLSL compute shader exactly, and if no match is found, nothing happens. Same as Material!
Found an issue with these docs, or have some additional questions? Create an Issue on Github!