Gets the resource format to use for the front panel display on an Xbox One X dev kit.
public:
HRESULT GetScreenPixelFormat(
DXGI_FORMAT screenPixelFormat
)
screenPixelFormat
Type: DXGI_FORMATÂ
[out] Pointer to a value indicating the screen pixel format.
Type: HRESULTÂ
Returns S_OK if successful, or an error code otherwise.
The pixel format returned by method is DXGI_FORMAT_R8_UNORM. However, the display supports 4 bits per pixel, and therefore throws away the lower four bits.
Header: Declared in xboxfrontpanel.h.
Library: Use xboxfrontpanel.lib.