Delegate OpenXRLayerUtility.SwapchainCallbackDelegate
Calls the methods in its invocation list when a 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.SwapchainCallbackDelegate(int layerId, ulong swapchainHandle)
Parameters
Type | Name | Description |
---|---|---|
int | layerId | The instance id of the composition layer object. |
ulong | swapchainHandle | The handle to the native swapchain that was just created. |