docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrFutureCompletionEXT

    A minimal implementation of XrFutureCompletionBaseHeaderEXT, containing only the properties present in the base header structure. This struct is intended for use by asynchronous operations that do not have other outputs or return values beyond an XrResult value. Provided by EXT_future.

    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 readonly struct XrFutureCompletionEXT
    Remarks
    Warning

    Don't initialize this struct with the default parameterless constructor. Use a constructor with parameters to ensure that type is correctly initialized to FutureCompletionEXT.

    Constructors

    XrFutureCompletionEXT(void*, XrResult)

    Construct an instance.

    Declaration
    public XrFutureCompletionEXT(void* next, XrResult futureResult)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    XrResult futureResult

    The future result.

    XrFutureCompletionEXT(XrResult)

    Construct an instance with a null next pointer.

    Declaration
    public XrFutureCompletionEXT(XrResult futureResult)
    Parameters
    Type Name Description
    XrResult futureResult

    The future result.

    Properties

    futureResult

    The result of the async operation associated with the future passed to the completion function.

    Declaration
    public XrResult futureResult { get; }
    Property Value
    Type Description
    XrResult

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    type

    The XrStructureType of this struct: FutureCompletionEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    In This Article
    Back to top
    Copyright © 2025 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)