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.
ID2D1DeviceContext5::CreateColorContextFromDxgiColorSpace method
Creates a color context from a DXGI color space type. It is only valid to use this with the Color Management Effect in 'Best' mode.
Syntax
HRESULT CreateColorContextFromDxgiColorSpace( DXGI_COLOR_SPACE_TYPE colorSpace, [out] ID2D1ColorContext1 **colorContext );
Parameters
- colorSpace
-
Type: DXGI_COLOR_SPACE_TYPE
The color space to create the color context from.
- colorContext [out]
-
Type: ID2D1ColorContext1**
The created color context.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: