Struct XrFutureCompletionBaseHeaderEXT
Base header for future completion structs. Provided by EXT_future
.
Inherited Members
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 |
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 |
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 |