Struct XrSpatialPersistenceContextCreateInfoEXT
Represents the creation info for a persistence context.
Used by OpenXRNativeApi.xrCreateSpatialPersistenceContextAsyncEXT
.
Provided by XR_EXT_spatial_persistence
.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrSpatialPersistenceContextCreateInfoEXT
Constructors
XrSpatialPersistenceContextCreateInfoEXT(void*, XrSpatialPersistenceScopeEXT)
Construct an instance.
Declaration
public XrSpatialPersistenceContextCreateInfoEXT(void* next, XrSpatialPersistenceScopeEXT scope)
Parameters
Type | Name | Description |
---|---|---|
void* | next | The next pointer. |
XrSpatialPersistenceScopeEXT | scope | The storage scope to use for the created persistence context. |
See Also
XrSpatialPersistenceContextCreateInfoEXT(XrSpatialPersistenceScopeEXT)
Construct an instance with a null
next pointer.
Declaration
public XrSpatialPersistenceContextCreateInfoEXT(XrSpatialPersistenceScopeEXT scope)
Parameters
Type | Name | Description |
---|---|---|
XrSpatialPersistenceScopeEXT | scope | The storage scope to use for the created persistence context. |
See Also
Properties
next
null
or a pointer to the next structure in a structure chain.
Declaration
public void* next { get; }
Property Value
Type | Description |
---|---|
void* |
See Also
scope
The storage scope to use for the created persistence context.
Declaration
public XrSpatialPersistenceScopeEXT scope { get; }
Property Value
Type | Description |
---|---|
XrSpatialPersistenceScopeEXT |
See Also
type
The XrStructureType
of this struct: SpatialPersistenceContextCreateInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
Type | Description |
---|---|
XrStructureType |