docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GreenFilter

    The role of this class is to keep only the green channel information from the incoming render texture.

    Inheritance
    object
    NodeRuntime
    Transcoder
    RenderTextureTranscoder
    GreenFilter
    Inherited Members
    RenderTextureTranscoder.inRenderTexture
    RenderTextureTranscoder.outRenderTexture
    RenderTextureTranscoder._outputBuffer
    RenderTextureTranscoder.PrepareOutputBuffer(int, int, RenderTextureFormat, RenderTextureReadWrite)
    RenderTextureTranscoder.Release()
    Transcoder.inTranscode
    Transcoder.outTranscode
    Transcoder._computeShader
    Transcoder.EnableInterfaceOnChangeEvent()
    Transcoder.DisableInterfaceOnChangeEvent()
    Transcoder.InitializeSensorSDKComputeShader(string, string)
    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
    [NodeCategory("Color filter", "GreenFilter", NodeTick.Asynchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.0/manual/DeveloperGuide/Transcoders.html")]
    public class GreenFilter : RenderTextureTranscoder

    Methods

    Name Description
    Disable()

    Disable the change event on the inTranscode port and release graphics resources.

    Enable(ClockState)

    Initialize the filter and enable on change event on the on inTranscode port.

    Transcode(CustomPassContext)

    Add to the command buffer the process of removing all color channels and keeping only the green one.

    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)