C Specification

The XrHapticParametricStreamFrameTypeEXT enum is defined as:

// Provided by XR_EXT_haptic_parametric
typedef enum XrHapticParametricStreamFrameTypeEXT {
    XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_NONE_EXT = 0,
    XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_FIRST_FRAME_EXT = 1,
    XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_INTERMEDIATE_FRAME_EXT = 2,
    XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_LAST_FRAME_EXT = 3,
    XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF
} XrHapticParametricStreamFrameTypeEXT;

Description

This enum describes if and how the haptic data in XrHapticParametricVibrationEXT is part of a stream.

Enumerant Descriptions
  • XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_NONE_EXT The haptic data is not part of a stream.

  • XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_FIRST_FRAME_EXT The haptic data is the first haptic frame of the stream.

  • XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_INTERMEDIATE_FRAME_EXT The haptic data is a haptic frame in the middle of the stream.

  • XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_LAST_FRAME_EXT The haptic data is the last haptic frame of the stream.

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.