> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureScreenshotFormatFlag

> XAppCaptureScreenshotFormatFlag

# XAppCaptureScreenshotFormatFlag

Determines the definition quality of the screenshot capture.

## Syntax

```cpp theme={null}
enum class XAppCaptureScreenshotFormatFlag  : uint16_t  
{  
    SDR = 1,  
    HDR = 2  
}  
```

## Constants

| Constant | Description                                         |
| -------- | --------------------------------------------------- |
| SDR      | Setting this flag will capture a screenshot in SDR. |
| HDR      | Setting this flag will capture a screenshot in HDR. |

## Remarks

You may set one or both of the flags to designate a screenshot capture format. In the event that you set both you will receive two different captures. You may only set the HDR flag if the game is running in HDR.

This enum represents the option flags for [XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot).

## Requirements

**Header:** XAppCapture.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[GameDVR Overview](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot)


## Related topics

- [XAppCaptureTakeScreenshotResult](/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
- [XAppCaptureOpenScreenshotStream](/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)
- [XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureScreenshotStream](/reference/system/xappcapture/structs/xappcapturescreenshotstream.md)
