Constructor PhotosensorToTextureV2
PhotosensorToTextureV2(string, RenderTextureFormat, string)
Initializes the transcoder with a kernel used to extract information.
Declaration
public PhotosensorToTextureV2(string kernelName, RenderTextureFormat outputTextureFormat, string outputTextureName = "outputTexture")
Parameters
Type | Name | Description |
---|---|---|
string | kernelName | Kernel name defined in PhotosensorEncoders.compute |
RenderTextureFormat | outputTextureFormat | Format for the output texture creation. |
string | outputTextureName | The name of the output texture. |