WVR_IsRenderFoveationDefaultOn¶
-
WVR_EXPORT bool WVR_IsRenderFoveationDefaultOn()
Check whether foveated rendering is enabled or disabled when default mode is used.
This function must be called after calling WVR_RenderInit.
- Version
- API Level 5
- Return Value
true
: Foveated rendering is enabled when default mode is used.false
: Fvoeated rendering is disabled when default mode is used.
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");
}