WVR_IsAdaptiveQualityEnabled¶
-
WVR_EXPORT bool WVR_IsAdaptiveQualityEnabled()
This function checks if the adaptive render quality is enabled or disabled.
Use this API to allow the WaveVR SDK runtime to check if adaptive quality is enabled.
- Return
- true if WVR_EnableAdaptiveQuality is enabled, otherwise returns false.
- Version
- API Level 4
- Note
- Supported since Runtime version 4 or higher.
How to use¶
Check the example below:
#include <wvr/wvr_system.h>
// Check if adaptive quailty enabled
bool result = WVR_IsAdaptiveQualityEnabled();
if (result)
LOGI("WVR adaptiveQuality enabled");
else
LOGE("WVR adaptiveQuality disabled");