Forum Discussion
thewhiteambit
10 years agoAdventurer
Performance HUB in own Application
The Documentation says very little about how the Performance HUD can be viewed in you own Application, were it might make more sense to developers than in OculusWorldDemo. Do you have to collect and render these metrics by yourself? Then why is the compositor mentioned at all? Or can the compositor show these metrics by itself - then again, why is there no mention of any functions to show them?
"The Performance HUD screens are rendered by the compositor, which enables them to be displayed with a single SDK call. In OculusWorldDemo, you can toggle through the Performance HUD screens by pressing F11."
https://developer.oculus.com/documentat ... ts/dg-hud/
"The Performance HUD screens are rendered by the compositor, which enables them to be displayed with a single SDK call. In OculusWorldDemo, you can toggle through the Performance HUD screens by pressing F11."
https://developer.oculus.com/documentat ... ts/dg-hud/
6 Replies
- thewhiteambitAdventurerOk, I see one can enable it in the Oculus Configuration Utility and it is rendered by the compositior. Bow how can you switch this programmatically from within your application?
- MichaelNikelskyHonored GuestIt is actually quite simple:
ovr_SetInt( session, "PerfHudMode", (int)mode);
with mode being, ovrPerfHud_Off, ovrPerfHud_LatencyTiming or ovrPerfHud_RenderTiming - thewhiteambitAdventurerGreat, thank you Michael! First real answer and no guesswork I got in this forum so far :) Maybe someone over at Oculus VR could complete the Documentation or have I just been blind?
- thewhiteambitAdventurer
- owenwpExpert ProtegeThere is also a separate debug tool provided with the SDK that can turn the HUD on and off while your (or any) app is running.
- thewhiteambitAdventurer
"owenwp" wrote:
There is also a separate debug tool provided with the SDK that can turn the HUD on and off while your (or any) app is running.
Can be enabled with the Oculus Configuration Utility also :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 19 days ago
- 2 months ago