Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGISwapChain3::SetColorSpace1 method

Sets the color space used by the swap chain.

Syntax


HRESULT SetColorSpace1(
  [in] DXGI_COLOR_SPACE_TYPE ColorSpace
);

Parameters

ColorSpace [in]

Type: DXGI_COLOR_SPACE_TYPE

A DXGI_COLOR_SPACE_TYPE-typed value that specifies the color space to set.

Return value

Type: HRESULT

This method returns S_OK on success, or it returns one of the error codes that are described in the DXGI_ERROR topic.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

DXGI1_4.h

Library

Dxgi.lib

See also

IDXGISwapChain3

 

 

Show:
© 2017 Microsoft