docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate OpenXRLayerUtility.StereoSwapchainCallbackDelegate

    Calls the methods in its invocation list when a stereo swapchain is created on the graphics thread inside the UnityOpenXR lib.

    Namespace: UnityEngine.XR.OpenXR.CompositionLayers
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public delegate void OpenXRLayerUtility.StereoSwapchainCallbackDelegate(int layerId, ulong swapchainHandleLeft, ulong swapchainHandleRight)
    Parameters
    Type Name Description
    int layerId

    The instance id of the composition layer object.

    ulong swapchainHandleLeft

    The handle to one of the stereo swapchains that was just created.

    ulong swapchainHandleRight

    The handle to one of the stereo swapchains that was just created.

    In This Article
    Back to top
    Copyright © 2025 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)