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