Method SetComputeConstantBufferParam
SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)
Wraps SetComputeConstantBufferParam on a CommandBuffer.
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, ComputeBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | nameID | |
ComputeBuffer | buffer | |
int | offset | |
int | size |
SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)
Wraps SetComputeConstantBufferParam on a CommandBuffer.
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, string name, ComputeBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
string | name | |
ComputeBuffer | buffer | |
int | offset | |
int | size |
SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)
Wraps SetComputeConstantBufferParam on a CommandBuffer.
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, GraphicsBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | nameID | |
GraphicsBuffer | buffer | |
int | offset | |
int | size |
SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, int)
Wraps SetComputeConstantBufferParam on a CommandBuffer.
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, string name, GraphicsBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
string | name | |
GraphicsBuffer | buffer | |
int | offset | |
int | size |