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