Struct XrFuturePollResultEXT
The poll result struct used by OpenXRNativeApi.xrPollFutureEXT
. Provided by EXT_future
.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrFuturePollResultEXT
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 FuturePollResultEXT.
Constructors
XrFuturePollResultEXT(void*, XrFutureStateEXT)
Construct an instance.
Declaration
public XrFuturePollResultEXT(void* next, XrFutureStateEXT state)
Parameters
Type | Name | Description |
---|---|---|
void* | next | The next pointer. |
XrFutureStateEXT | state | The state of the future. |
See Also
XrFuturePollResultEXT(XrFutureStateEXT)
Construct an instance with a null
next pointer.
Declaration
public XrFuturePollResultEXT(XrFutureStateEXT state)
Parameters
Type | Name | Description |
---|---|---|
XrFutureStateEXT | state | The state of the future. |
See Also
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrFuturePollResultEXT defaultValue { get; }
Property Value
Type | Description |
---|---|
XrFuturePollResultEXT |
See Also
next
null
or a pointer to the next structure in a structure chain.
Declaration
public void* next { readonly get; set; }
Property Value
Type | Description |
---|---|
void* |
See Also
state
The state of the future passed to OpenXRNativeApi.xrPollFutureEXT
.
Declaration
public XrFutureStateEXT state { readonly get; set; }
Property Value
Type | Description |
---|---|
XrFutureStateEXT |
See Also
type
The XrStructureType
of this struct: FuturePollResultEXT.
Declaration
public readonly XrStructureType type { get; }
Property Value
Type | Description |
---|---|
XrStructureType |