C Specification

The possible color spaces are specified by the XrColorSpaceFB enumeration.

// Provided by XR_FB_color_space
typedef enum XrColorSpaceFB {
    XR_COLOR_SPACE_UNMANAGED_FB = 0,
    XR_COLOR_SPACE_REC2020_FB = 1,
    XR_COLOR_SPACE_REC709_FB = 2,
    XR_COLOR_SPACE_RIFT_CV1_FB = 3,
    XR_COLOR_SPACE_RIFT_S_FB = 4,
    XR_COLOR_SPACE_QUEST_FB = 5,
    XR_COLOR_SPACE_P3_FB = 6,
    XR_COLOR_SPACE_ADOBE_RGB_FB = 7,
    XR_COLOR_SPACE_MAX_ENUM_FB = 0x7FFFFFFF
} XrColorSpaceFB;

Description

Enumerant Descriptions
  • XR_COLOR_SPACE_UNMANAGED_FB. No color correction, not recommended for production use.

  • XR_COLOR_SPACE_REC2020_FB. Standard Rec. 2020 chromacities with D65 white point.

  • XR_COLOR_SPACE_REC709_FB. Standard Rec. 709 chromaticities, similar to sRGB.

  • XR_COLOR_SPACE_RIFT_CV1_FB. Unique color space, between P3 and Adobe RGB using D75 white point. This is the preferred color space for standardized color across all Oculus HMDs.

    Color Space Details with Chromacity Primaries in CIE 1931 xy:

    • Red: (0.666, 0.334)

    • Green: (0.238, 0.714)

    • Blue: (0.139, 0.053)

    • White: (0.298, 0.318)

  • XR_COLOR_SPACE_RIFT_S_FB. Unique color space. Similar to Rec 709 using D75.

    Color Space Details with Chromacity Primaries in CIE 1931 xy:

    • Red: (0.640, 0.330)

    • Green: (0.292, 0.586)

    • Blue: (0.156, 0.058)

    • White: (0.298, 0.318)

  • XR_COLOR_SPACE_QUEST_FB. Unique color space. Similar to Rift CV1 using D75 white point

    Color Space Details with Chromacity Primaries in CIE 1931 xy:

    • Red: (0.661, 0.338)

    • Green: (0.228, 0.718)

    • Blue: (0.142, 0.042)

    • White: (0.298, 0.318)

  • XR_COLOR_SPACE_P3_FB. Similar to DCI-P3, but uses D65 white point instead.

    Color Space Details with Chromacity Primaries in CIE 1931 xy:

    • Red: (0.680, 0.320)

    • Green: (0.265, 0.690)

    • Blue: (0.150, 0.060)

    • White: (0.313, 0.329)

  • XR_COLOR_SPACE_ADOBE_RGB_FB. Standard Adobe chromacities.

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