ID2D1DeviceContext5::CreateColorContextFromDxgiColorSpace method (d2d1_3.h)
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.
[out] colorContext
Type: ID2D1ColorContext1**
The created color context.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |