docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    NodeRuntime
    Transcoder
    PhotosensorEncoder
    PhotosensorToIntensityBuffer
    PhotosensorToIntensityBufferNode
    Inherited Members
    PhotosensorEncoder.photosensorData
    PhotosensorEncoder.width
    PhotosensorEncoder.height
    PhotosensorEncoder._readCount
    PhotosensorEncoder.SampleCountPerFrame
    PhotosensorEncoder.InitializeSensorSDKShaderKernel(string)
    Transcoder.inTranscode
    Transcoder.outTranscode
    Transcoder._computeShader
    Transcoder.EnableInterfaceOnChangeEvent()
    Transcoder.DisableInterfaceOnChangeEvent()
    Transcoder.InitializeSensorSDKComputeShader(string, string)
    Transcoder.Release()
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.OnTick(double, double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(string, Type, string, PortDirection, FieldExtra, ref IPortType)
    NodeRuntime.OnPortRemoved(string)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    NodeRuntime.QueryPath
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)