Foveation in the context of XR is a rendering technique that allows the area of an image near the focal point or fovea of the eye to be displayed at higher resolution than areas in the periphery. This trades some visual fidelity in the periphery, where it is less noticeable for the user, for improved rendering performance, most notably regarding the fragment shader, as fewer pixels or subpixels in the periphery need to be shaded and processed. On platforms which support foveation patterns and features tailored towards the optical properties, performance profiles, and hardware support of specific HMDs, application developers may request and use available foveation profiles from the runtime. Foveation profiles refer to a set of properties describing how, when, and where foveation will be applied.
This extension allows:
In order to enable the functionality of this extension, you 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 String | XR_FB_FOVEATION_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_foveation_SPEC_VERSION
The extension specification version. |
| public static final int | XR_OBJECT_TYPE_FOVEATION_PROFILE_FB
Extends |
| public static final int | XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB
XrSwapchainCreateFoveationFlagBitsFB - XrSwapchainCreateFoveationFlagBitsFB Flag Descriptions
|
| public static final int | XR_SWAPCHAIN_CREATE_FOVEATION_SCALED_BIN_BIT_FB
XrSwapchainCreateFoveationFlagBitsFB - XrSwapchainCreateFoveationFlagBitsFB Flag Descriptions
|
| public static final int | XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB
Extends |
| public static final int | XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB
Extends |
| public static final int | XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrCreateFoveationProfileFB(XrSession session, long createInfo, long profile)
Unsafe version of: |
| public static int | xrCreateFoveationProfileFB(XrSession
the session, XrFoveationProfileCreateInfoFB XrSession that created the swapchains to which this foveation profile will be applied.a pointer to an createInfo, PointerBuffer XrFoveationProfileCreateInfoFB structure containing parameters to be used to create the foveation profile.a pointer to a handle in which the created profile)XrFoveationProfileFB is returned.Create a foveation profile. |
| public static int | xrDestroyFoveationProfileFB(XrFoveationProfileFB
the profile)XrFoveationProfileFB to destroy.Destroy a foveation profile. |
| XR_FB_FOVEATION_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_FOVEATION_EXTENSION_NAME The extension name. | |
| XR_FB_foveation_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_foveation_SPEC_VERSION The extension specification version. | |
| XR_OBJECT_TYPE_FOVEATION_PROFILE_FB | back to summary |
|---|---|
| public static final int XR_OBJECT_TYPE_FOVEATION_PROFILE_FB Extends | |
| XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB | back to summary |
|---|---|
| public static final int XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB XrSwapchainCreateFoveationFlagBitsFB - XrSwapchainCreateFoveationFlagBitsFB Flag Descriptions
| |
| XR_SWAPCHAIN_CREATE_FOVEATION_SCALED_BIN_BIT_FB | back to summary |
|---|---|
| public static final int XR_SWAPCHAIN_CREATE_FOVEATION_SCALED_BIN_BIT_FB XrSwapchainCreateFoveationFlagBitsFB - XrSwapchainCreateFoveationFlagBitsFB Flag Descriptions
| |
| XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB Extends Enum values: | |
| XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB Extends Enum values: | |
| XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB Extends Enum values: | |
| FBFoveation | back to summary |
|---|---|
| protected FBFoveation() | |
| nxrCreateFoveationProfileFB | back to summary |
|---|---|
| public static int nxrCreateFoveationProfileFB(XrSession session, long createInfo, long profile) Unsafe version of: | |
| xrCreateFoveationProfileFB | back to summary |
|---|---|
| public static int xrCreateFoveationProfileFB(XrSession session, XrFoveationProfileCreateInfoFB createInfo, PointerBuffer profile) Create a foveation profile. C SpecificationThe
DescriptionCreates an Valid Usage (Implicit)
Return Codes
See Also
| |
| xrDestroyFoveationProfileFB | back to summary |
|---|---|
| public static int xrDestroyFoveationProfileFB(XrFoveationProfileFB profile) Destroy a foveation profile. C SpecificationThe
Description
Valid Usage (Implicit)
Thread Safety
Return Codes
| |