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. |