C Specification

The XrSpatialEntityPersistInfoEXT structure is defined as:

// Provided by XR_EXT_spatial_persistence_operations
typedef struct XrSpatialEntityPersistInfoEXT {
    XrStructureType         type;
    const void*             next;
    XrSpatialContextEXT     spatialContext;
    XrSpatialEntityIdEXT    spatialEntityId;
} XrSpatialEntityPersistInfoEXT;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • spatialContext is an XrSpatialContextEXT to which spatialEntityId belongs.

  • spatialEntityId is an XrSpatialEntityIdEXT of the spatial entity that is to be persisted.

Description

The XrSpatialEntityPersistInfoEXT structure describes the information to persist a spatial entity represented by spatialEntityId in an XrSpatialPersistenceContextEXT.

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.