C Specification

An application can inspect whether the system is capable of parametric haptics by extending the XrSystemProperties structure with XrSystemHapticParametricPropertiesEXT when calling xrGetSystemProperties.

The XrSystemHapticParametricPropertiesEXT structure is defined as:

// Provided by XR_EXT_haptic_parametric
typedef struct XrSystemHapticParametricPropertiesEXT {
    XrStructureType    type;
    void*              next;
    XrBool32           supportsParametricHaptics;
} XrSystemHapticParametricPropertiesEXT;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. For more details about the structure chain, see the structure being extended (XrSystemProperties).

  • supportsParametricHaptics is an XrBool32, indicating if the current system is capable of parametric haptics.

Description

If the system does not support parametric haptics:

If the system supports parametric haptics:

  • The runtime must return XR_TRUE for supportsParametricHaptics.

  • The runtime must support haptic events of type XrHapticParametricVibrationEXT on all output component paths that are supported for haptic events of type XrHapticVibration.

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-2026 The Khronos Group Inc.