WVR_IsRenderFoveationEnabled

WVR_EXPORT bool WVR_IsRenderFoveationEnabled()

Check whether foveated rendering is enabled.

This function must be called after calling WVR_RenderInit.

Version
API Level 5
Return Value
  • true: foveated rendering feature is enabled.
  • false: foveated rendering feature is enabled.

How to use

Here is an example for the function:

#include <wvr/wvr_render.h>

// Is foveated rendering enabled?
if (WVR_IsRenderFoveationEnabled() == true) {
    LOGI("Foveated rendering is enabled");
} else {
    LOGI("Foveated rendering is disabled");
}