XR devices may use a color space that is different from many monitors used in development. Application developers may desire to specify the color space in which they have authored their application so appropriate colors are shown when the application is running on the XR device.
This extension allows:
In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extensions section.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_COLOR_SPACE_ADOBE_RGB_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_P3_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_QUEST_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_REC2020_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_REC709_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_RIFT_CV1_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_RIFT_S_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_COLOR_SPACE_UNMANAGED_FB
XrColorSpaceFB - Color Space Type Enumerant Descriptions
|
| public static final int | XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB
Extends |
| public static final String | XR_FB_COLOR_SPACE_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_color_space_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrEnumerateColorSpacesFB(XrSession session, int
the capacity of the colorSpaceCapacityInput, long colorSpaceCountOutput, long colorSpaces)colorSpaces array, or 0 to retrieve the required capacity.Unsafe version of: |
| public static int | xrEnumerateColorSpacesFB(XrSession
the session that enumerates the supported color spaces. session, IntBuffer a pointer to the count of colorSpaceCountOutput, IntBuffer XrColorSpaceFB colorSpaces written, or a pointer to the required capacity in the case that colorSpaceCapacityInput is insufficient.a pointer to an array of colorSpaces)XrColorSpaceFB color spaces, but can be NULL if colorSpaceCapacityInput is 0.Enumerates color spaces. |
| public static int | xrSetColorSpaceFB(XrSession
a valid session, int XrSession handle.a supported color space. Supported color spaces are indicated by colorSpace)EnumerateColorSpacesFB.Set a color space. |
| XR_COLOR_SPACE_ADOBE_RGB_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_ADOBE_RGB_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_P3_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_P3_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_QUEST_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_QUEST_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_REC2020_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_REC2020_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_REC709_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_REC709_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_RIFT_CV1_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_RIFT_CV1_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_RIFT_S_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_RIFT_S_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_COLOR_SPACE_UNMANAGED_FB | back to summary |
|---|---|
| public static final int XR_COLOR_SPACE_UNMANAGED_FB XrColorSpaceFB - Color Space Type Enumerant Descriptions
See Also
| |
| XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB | back to summary |
|---|---|
| public static final int XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB Extends | |
| XR_FB_COLOR_SPACE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_COLOR_SPACE_EXTENSION_NAME The extension name. | |
| XR_FB_color_space_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_color_space_SPEC_VERSION The extension specification version. | |
| XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB Extends | |
| FBColorSpace | back to summary |
|---|---|
| protected FBColorSpace() | |
| nxrEnumerateColorSpacesFB | back to summary |
|---|---|
| public static int nxrEnumerateColorSpacesFB(XrSession session, int colorSpaceCapacityInput, long colorSpaceCountOutput, long colorSpaces) Unsafe version of:
| |
| xrEnumerateColorSpacesFB | back to summary |
|---|---|
| public static int xrEnumerateColorSpacesFB(XrSession session, IntBuffer colorSpaceCountOutput, IntBuffer colorSpaces) Enumerates color spaces. C SpecificationThe
Description
Valid Usage (Implicit)
Return Codes
See Also
| |
| xrSetColorSpaceFB | back to summary |
|---|---|
| public static int xrSetColorSpaceFB(XrSession session, int colorSpace) Set a color space. C SpecificationThe
Description
Formal definitions of color spaces contain a number of aspects such as gamma correction, max luminance and more. However, For more info on color management in Oculus HMDs, please refer to this guide: Color Management in Oculus Headsets Valid Usage (Implicit)
Return Codes
See Also
| |