WVR_EXPORT bool WVR_IsRenderFoveationDefaultOn()

Check whether foveated rendering is enabled or disabled when using default mode.

This function must be called after calling WVR_RenderInit.

API Level 5
Return Value
  • true: foveated rendering is enable when using default mode.
  • false: fvoeated rendering is disable when using default mode.

How to use

Here is an example for the function:

#include <wvr/wvr_render.h>

// Is foveated rendering enabled when default mode is used?
if (WVR_IsRenderFoveationDefaultOn() == true) {
    LOGI("Foveated rendering is enabled when in default mode");
} else {
    LOGI("Foveated rendering is disabled when in default mode");