docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor PhotosensorToSegmentation

    PhotosensorToSegmentation(string, string, RenderTextureFormat, string)

    Initializes and returns an instance of PhotosensorToSegmentation.

    Declaration
    public PhotosensorToSegmentation(string kernelName, string translationTablePropName, RenderTextureFormat textureFormat, string outputTextureName = "outputTexture")
    Parameters
    Type Name Description
    string kernelName

    The name of the shader kernel.

    string translationTablePropName

    The name of the shader property of the table to translate labels.

    RenderTextureFormat textureFormat

    The format of the output texture.

    string outputTextureName

    The name of the output texture, for debugging purposes.

    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)