Class PhotosensorToIntensityBuffer
The role of this class is to interpret the data incoming from the photosensor into an intensity buffer. The internal shader does extract the intensity information and format it into a compute buffer according to the frame information.
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
public class PhotosensorToIntensityBuffer : PhotosensorEncoder
Fields
Name | Description |
---|---|
_intensity | A frame of sampled intensity values. |
intensity |
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. |
Transcode(CustomPassContext) | Convert the photosensor sampling data into an intensity buffer. |