docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialPersistenceContextCreateInfoEXT

    Represents the creation info for a persistence context. Used by OpenXRNativeApi.xrCreateSpatialPersistenceContextAsyncEXT. Provided by XR_EXT_spatial_persistence.

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

    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.

    Properties

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    scope

    The storage scope to use for the created persistence context.

    Declaration
    public XrSpatialPersistenceScopeEXT scope { get; }
    Property Value
    Type Description
    XrSpatialPersistenceScopeEXT

    type

    The XrStructureType of this struct: SpatialPersistenceContextCreateInfoEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType

    See Also

    xrCreateSpatialPersistenceContextAsyncEXT(ulong, in XrSpatialPersistenceContextCreateInfoEXT, out ulong)
    xrCreateSpatialPersistenceContextAsyncEXT(in XrSpatialPersistenceContextCreateInfoEXT, out ulong)
    In This Article
    Back to top
    Copyright © 2026 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)