-
Notifications
You must be signed in to change notification settings - Fork 1.3k
IVRScreenshots::HookScreenshot
ZoidCTF edited this page Jun 10, 2016
·
3 revisions
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.