Constructor PhotosensorToSegmentationV2
PhotosensorToSegmentationV2(string, string, RenderTextureFormat, string)
Initializes and returns an instance of PhotosensorToSegmentationV2.
Declaration
public PhotosensorToSegmentationV2(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. |