public readonly record struct XrCompositionViewOne eye's contribution to the composited frame.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The pose and the field of view are submitted, not assumed. The compositor reprojects the image to wherever the head has got to by the time it is displayed, and it can only do that if it is told what the image was drawn for. Submitting last frame's pose, or the pose that was predicted rather than the one used, is a subtle and permanent swim in the image.
Fields and properties (5)
public IXrSwapchain SwapchainWhere it was rendered.
public int ImageArrayIndexWhich array layer of the acquired image, for a multiview target.
public XrViewport ViewportWhich part of the image, for two eyes rendered side by side into one.
public XrPose PoseThe pose the eye was actually rendered from.
public XrFieldOfView FovThe frustum it was actually rendered with.
Methods (1)
public XrCompositionView(IXrSwapchain Swapchain, int ImageArrayIndex, XrViewport Viewport, XrPose Pose, XrFieldOfView Fov)One eye's contribution to the composited frame.
Used by (4)
- IXrSessionVixen.Xr
- NullXrBackendTestsVixen.Xr.Tests
- NullXrSessionVixen.Xr
- OpenXrSessionVixen.Xr.OpenXR