Vixen
02b45cc4
csharp
public readonly record struct XrSystemInfo

What the runtime says about the headset attached to the machine.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (6)

  • public string Name

    What to call it in a log — the runtime's own name for the system.

  • public int ViewCount

    How many views a frame has. Two for stereo, one for a phone-shaped device.

  • public Int2 RecommendedImageSize

    The per-view render target size the runtime would like. Rendering smaller and letting it upscale is the standard way to buy performance; rendering larger buys sharpness at the centre.

  • public Int2 MaximumImageSize

    The largest per-view size it will accept.

  • public int RecommendedSampleCount

    How many samples it would like per pixel.

  • public bool HasPositionTracking

    Whether it tracks where the head is, and not only which way it faces.

Methods (1)

  • public XrSystemInfo(string Name, int ViewCount, Int2 RecommendedImageSize, Int2 MaximumImageSize, int RecommendedSampleCount, bool HasPositionTracking)

    What the runtime says about the headset attached to the machine.

Used by (7)

  • IXrBackendVixen.Xr
  • IXrSessionVixen.Xr
  • NullXrBackendVixen.Xr
  • NullXrSessionVixen.Xr
  • OpenXrBackendVixen.Xr.OpenXR
  • OpenXrBackendTestsVixen.Xr.OpenXR.Tests
  • OpenXrSessionVixen.Xr.OpenXR