WVR_ShowOverlay¶
-
WVR_EXPORT WVR_OverlayError WVR_ShowOverlay(int32_t overlayId, bool highQuality = false)
Shows the overlay.
- Return
- The error code of show overlay.
- Version
- API Level 1
- Parameters
overlayId
: which overlay should be control.highQuality
: set the image quality to high but reduce the performance.
How to use¶
Here is an example for the function:
#include <wvr/wvr_overlay.h>
int32_t mOverlayId;
void exampleFun() {
WVR_GenOverlay(&mOverlayId);
WVR_ShowOverlay(mOverlayId);
WVR_DelOverlay(mOverlayId);
}