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