C Specification

The XrColocationAdvertisementStartInfoMETA structure is defined as:

// Provided by XR_META_colocation_discovery
typedef struct XrColocationAdvertisementStartInfoMETA {
    XrStructureType    type;
    const void*        next;
    uint32_t           bufferSize;
    uint8_t*           buffer;
} XrColocationAdvertisementStartInfoMETA;

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.

  • bufferSize is the count of bytes used in the buffer array. If bufferSize is greater than XR_MAX_COLOCATION_DISCOVERY_BUFFER_SIZE_META, then the runtime must return XR_ERROR_VALIDATION_FAILURE. The maximum supported count is XR_MAX_COLOCATION_DISCOVERY_BUFFER_SIZE_META.

  • buffer is a byte array which allows the application to define app buffer. It is the advertisement payload.

Description

XrColocationAdvertisementStartInfoMETA is the input data for xrStartColocationAdvertisementMETA. Implicitly, while the application has an active advertisement, the runtime will retain a copy of the XrColocationAdvertisementStartInfoMETA submitted with xrStartColocationAdvertisementMETA.

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.