ovrHmd_DismissHSWDisplay

Dismisses the HSW display if the warning is dismissible and the earliest dismissal time has occurred. Returns true if the display is valid and could be dismissed. The application should recognize that the HSW display is being displayed (via ovrhmd_GetHSWDisplayState) and if so then call this function when the appropriate user input to dismiss the warning occurs.

Example usage : void ProcessEvent(int key) { if(key == escape) { ovrHSWDisplayState hswDisplayState; ovrhmd_GetHSWDisplayState(hmd, &hswDisplayState);

if(hswDisplayState.Displayed && ovrhmd_DismissHSWDisplay(hmd)) { <remove model from the scene> HSWDisplayCurrentlyDisplayed = false; } } }

extern (C)
ovrHmd_DismissHSWDisplay

Meta