csharp
public readonly record struct XrSwapchainDescriptionWhat to create an eye buffer as.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public Int2 SizeIts size in pixels, per view.
public PixelFormat FormatThe format to ask for. A runtime supports a list of them and will refuse anything else, so read Format back rather than assuming this was granted.
public int ArrayLayersHow many layers. Two is the multiview case: both eyes in one array texture, rendered in one pass, which is where the halving of draw-call cost comes from.
public int SampleCountHow many samples per pixel.
public TextureUsage UsageWhat the images will be used for.
public string NameA name for the debugger and captures.
Methods (1)
public XrSwapchainDescription(Int2 Size, PixelFormat Format = Rgba8UNormSrgb, int ArrayLayers = 1, int SampleCount = 1, TextureUsage Usage = Sampled | ColourTarget, string Name = "")What to create an eye buffer as.
Used by (6)
- IXrSessionVixen.Xr
- NullXrBackendTestsVixen.Xr.Tests
- NullXrSessionVixen.Xr
- NullXrSwapchainVixen.Xr
- OpenXrSessionVixen.Xr.OpenXR
- OpenXrSwapchainVixen.Xr.OpenXR