docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MosaickingFilter

    The role of this class is to keep only the color channel information that match the mosaic pattern provided.

    Inheritance
    object
    NodeRuntime
    Transcoder
    RenderTextureTranscoder
    MosaickingFilter
    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", "MosaickingFilter", 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 MosaickingFilter : RenderTextureTranscoder

    Fields

    Name Description
    mosaicPattern

    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 keepnig on_computeShader.DispatchCompute(cmd,ly the one that match the mosaic pattern provide on the input port.

    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)