Compute.SetVector
void SetVector(string name, Vec2 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!
void SetVector(string name, Vec3 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!
void SetVector(string name, Vec4 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!