Method SetComputeTextureParam
SetComputeTextureParam(ComputeShader, int, string, TextureHandle)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
TextureHandle | rt |
SetComputeTextureParam(ComputeShader, int, int, TextureHandle)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
TextureHandle | rt |
SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt, int mipLevel)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
TextureHandle | rt | |
int | mipLevel |
SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt, int mipLevel)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
TextureHandle | rt | |
int | mipLevel |
SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int, RenderTextureSubElement)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt, int mipLevel, RenderTextureSubElement element)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
TextureHandle | rt | |
int | mipLevel | |
RenderTextureSubElement | element |
SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int, RenderTextureSubElement)
Wraps SetComputeTextureParam on a CommandBuffer.
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt, int mipLevel, RenderTextureSubElement element)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
TextureHandle | rt | |
int | mipLevel | |
RenderTextureSubElement | element |