Method SetComputeFloatParam
SetComputeFloatParam(ComputeShader, int, float)
Wraps SetComputeFloatParam on a CommandBuffer.
Declaration
public void SetComputeFloatParam(ComputeShader computeShader, int nameID, float val)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | nameID | |
float | val |
Implements
SetComputeFloatParam(ComputeShader, string, float)
Wraps SetComputeFloatParam on a CommandBuffer.
Declaration
public void SetComputeFloatParam(ComputeShader computeShader, string name, float val)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
string | name | |
float | val |