Struct XrSwapchainSubImage
Composition layer data describing the associated swapchain.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrSwapchainSubImage
Fields
ImageArrayIndex
Composition layer data describing the associated swapchain.
Declaration
public uint ImageArrayIndex
Field Value
Type | Description |
---|---|
uint |
ImageRect
An XrRect2Di representing the valid portion of the image to use, in pixels. It also implicitly defines the transform from normalized image coordinates into pixel coordinates. The coordinate origin depends on which graphics API is being used. See the graphics API extension details for more information on the coordinate origin definition. Note that the compositor may bleed in pixels from outside the bounds in some cases, for instance due to mipmapping.
Declaration
public XrRect2Di ImageRect
Field Value
Type | Description |
---|---|
XrRect2Di |
Swapchain
The XrSwapchain to be displayed.
Declaration
public ulong Swapchain
Field Value
Type | Description |
---|---|
ulong |