Constructor PhotosensorToSegmentation
PhotosensorToSegmentation(string, string, RenderTextureFormat, string)
Initializes and returns an instance of PhotosensorToSegmentation.
Declaration
public PhotosensorToSegmentation(string kernelName, string translationTablePropName, RenderTextureFormat textureFormat, string outputTextureName = "outputTexture")
Parameters
| Type | Name | Description |
|---|---|---|
| string | kernelName | The name of the shader kernel. |
| string | translationTablePropName | The name of the shader property of the table to translate labels. |
| RenderTextureFormat | textureFormat | The format of the output texture. |
| string | outputTextureName | The name of the output texture, for debugging purposes. |