mirror of
https://github.com/ValveSoftware/openvr.git
synced 2026-11-17 02:11:36 +00:00
EVRScreenshotError HookScreenshot( const EVRScreenshotType *pSupportedTypes, int numTypes )
Called by the running VR application to indicate which screenshots it wishes to support.
EVRScreenshotType *pSupportedTypes- Pointer to an array of the screenshot types the application wants to support.int numTypes- The number of screenshot types in the pSupportedTypes array.
Description
If the application does not call this, the Compositor will only support VRScreenshotType_Stereo screenshots that will be captured without notification to the running app. Once hooked your application will receive a VREvent_RequestScreenshot event when the user presses the buttons to take a screenshot.