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
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 |