WVR_IsRenderFoveationSupport

WVR_EXPORT bool WVR_IsRenderFoveationSupport()

Check whether foveated rendering is support.

This function must be called after calling WVR_RenderInit.

Version
API Level 3
Return Value
  • true: foveated rendering feature is support in runtime.
  • false: foveated rendering feature is not support in runtime.

How to use

Here is an example for the function:

#include <wvr/wvr_render.h>

// To detect does device support foveation
if (WVR_IsRenderFoveationSupport() == false) {
    LOGI("This device don't support foveation");
}