IDCompositionTexture::SetColorSpace method (dcomp.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Informs the system of the color space that it should map the texture into.

Syntax

HRESULT SetColorSpace(
  DXGI_COLOR_SPACE_TYPE colorSpace
);

Parameters

colorSpace

Type: _In_ DXGI_COLOR_SPACE_TYPE

Specifies the color space to use.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header dcomp.h

See also