Class PhotosensorToSegmentationV2
Expose the conversion of photosensor sampling data to a segmentation 2D texture as a node in SystemGraph.
Inheritance
Inherited Members
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
public abstract class PhotosensorToSegmentationV2 : PhotosensorToTextureV2
Constructors
Name | Description |
---|---|
PhotosensorToSegmentationV2(string, string, RenderTextureFormat, string) | Initializes and returns an instance of PhotosensorToSegmentationV2. |
Fields
Name | Description |
---|---|
kTranslationTablePropID | The identifier of the shader property of the table to translate labels. |
segmentation |
Methods
Name | Description |
---|---|
Disable() | Disable the change event on the input render texture and release the graphic resources. |
Enable(ClockState) | Enable the change event on the input render texture and initialize the compute shader. |
InternalBindExtraParameters(CommandBuffer) | Used to bind parameters to the kernel other than the default ones. |
InternalBuildTranslationTable() | Creates the _gpuTranslationTable used to convert labels to the output texture. |
SetOutputTexture(RenderTexture) | This function is called upon processing the data extraction, the output texture may now be used for proceeding gpu operations. |
Transcode(CustomPassContext) | Add to the command buffer the conversion of the photosensor sampling data into a texture. |