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 is enabled.
  • false: Foveated rendering is disabled.

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");
}