docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Initialize

    Initialize(Func<XRPassCreateInfo, XRPass>, Shader, Shader)

    Use this method to assign the shaders that will be used to render occlusion mesh for each XRPass and the final mirror view.

    Declaration
    public static void Initialize(Func<XRPassCreateInfo, XRPass> passAllocator, Shader occlusionMeshPS, Shader mirrorViewPS)
    Parameters
    Type Name Description
    Func<XRPassCreateInfo, XRPass> passAllocator
    Shader occlusionMeshPS
    Shader mirrorViewPS
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)