docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSwapchainSubImage

    Composition layer data describing the associated swapchain.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)