Vixen
02b45cc4

XrCompositionView

struct Core/Vixen.Xr/XrSession.cs:101
csharp
public readonly record struct XrCompositionView

One 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 Swapchain

    Where it was rendered.

  • public int ImageArrayIndex

    Which array layer of the acquired image, for a multiview target.

  • public XrViewport Viewport

    Which part of the image, for two eyes rendered side by side into one.

  • public XrPose Pose

    The pose the eye was actually rendered from.

  • public XrFieldOfView Fov

    The frustum it was actually rendered with.

Methods (1)

Used by (4)

  • IXrSessionVixen.Xr
  • NullXrBackendTestsVixen.Xr.Tests
  • NullXrSessionVixen.Xr
  • OpenXrSessionVixen.Xr.OpenXR