Method SetComputeBufferParam
SetComputeBufferParam(ComputeShader, int, int, ComputeBuffer)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, ComputeBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
ComputeBuffer | buffer |
Implements
SetComputeBufferParam(ComputeShader, int, string, ComputeBuffer)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, ComputeBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
ComputeBuffer | buffer |
Implements
SetComputeBufferParam(ComputeShader, int, int, GraphicsBufferHandle)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, GraphicsBufferHandle bufferHandle)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
GraphicsBufferHandle | bufferHandle |
Implements
SetComputeBufferParam(ComputeShader, int, string, GraphicsBufferHandle)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, GraphicsBufferHandle bufferHandle)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
GraphicsBufferHandle | bufferHandle |
Implements
SetComputeBufferParam(ComputeShader, int, int, GraphicsBuffer)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, GraphicsBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
GraphicsBuffer | buffer |
Implements
SetComputeBufferParam(ComputeShader, int, string, GraphicsBuffer)
Wraps SetComputeBufferParam on a CommandBuffer.
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, GraphicsBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
GraphicsBuffer | buffer |