docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RenderOcclusionMesh

    RenderOcclusionMesh(CommandBuffer)

    Generate commands to render the occlusion mesh for this pass. In single-pass mode : the meshes for all views are combined into one mesh, where the corresponding view index is encoded into each vertex. The keyword "XR_OCCLUSION_MESH_COMBINED" is also enabled when rendering the combined mesh.

    Declaration
    public void RenderOcclusionMesh(CommandBuffer cmd)
    Parameters
    Type Name Description
    CommandBuffer cmd

    RenderOcclusionMesh(RasterCommandBuffer)

    Declaration
    public void RenderOcclusionMesh(RasterCommandBuffer cmd)
    Parameters
    Type Name Description
    RasterCommandBuffer cmd
    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)