C Specification

The XrSystemColocationDiscoveryPropertiesMETA structure is defined as:

// Provided by XR_META_colocation_discovery
typedef struct XrSystemColocationDiscoveryPropertiesMETA {
    XrStructureType    type;
    void*              next;
    XrBool32           supportsColocationDiscovery;
} XrSystemColocationDiscoveryPropertiesMETA;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • supportsColocationDiscovery is an XrBool32 specifying if colocation discovery (and relatedly, colocation advertisement) is supported.

Description

An application can inspect whether the system is capable of colocation advertisement and discovery by extending the XrSystemProperties with XrSystemColocationDiscoveryPropertiesMETA structure when calling xrGetSystemProperties.

If a runtime returns XR_FALSE for supportsColocationDiscovery, the runtime must return XR_ERROR_FEATURE_UNSUPPORTED for all functions in the XR_META_colocation_discovery extension.

Colocation advertisement controls whether a device is discoverable using colocation discovery, so the term "colocation discovery" on its own is used here to refer to the combined capability of colocation advertisement and colocation discovery.

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.