docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor PhotosensorToTexture

    PhotosensorToTexture(string, RenderTextureFormat, string)

    Initializes the transcoder with a kernel used to extract information.

    Declaration
    public PhotosensorToTexture(string kernelName, RenderTextureFormat outputTextureFormat, string outputTextureName = "outputTexture")
    Parameters
    Type Name Description
    string kernelName

    Kernel name defined in PhotosensorEncoders.compute

    RenderTextureFormat outputTextureFormat

    Format for the output texture creation.

    string outputTextureName

    Name of the output texture if different from default(Default: "outputTexture")

    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)