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