docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrFutureCompletionBaseHeaderEXT

    Base header for future completion structs. 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 XrFutureCompletionBaseHeaderEXT
    Remarks
    Warning

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

    Constructors

    XrFutureCompletionBaseHeaderEXT(XrStructureType, void*, XrResult)

    Construct an instance.

    Declaration
    public XrFutureCompletionBaseHeaderEXT(XrStructureType type, void* next, XrResult futureResult)
    Parameters
    Type Name Description
    XrStructureType type

    The XrStructureType.

    void* next

    The next pointer.

    XrResult futureResult

    The future result.

    XrFutureCompletionBaseHeaderEXT(XrStructureType, XrResult)

    Construct an instance with a null next pointer.

    Declaration
    public XrFutureCompletionBaseHeaderEXT(XrStructureType type, XrResult futureResult)
    Parameters
    Type Name Description
    XrStructureType type

    The XrStructureType.

    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.

    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)