Skip to content

Latest commit

 

History

History
74 lines (59 loc) · 2.62 KB

nf-dcomp-idcompositioncolormatrixeffect-setmatrix.md

File metadata and controls

74 lines (59 loc) · 2.62 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dcomp.IDCompositionColorMatrixEffect.SetMatrix
IDCompositionColorMatrixEffect::SetMatrix (dcomp.h)
Sets the matrix used by the effect to multiply the RGBA values of the image.
IDCompositionColorMatrixEffect interface [DirectComposition]
SetMatrix method
IDCompositionColorMatrixEffect.SetMatrix
IDCompositionColorMatrixEffect::SetMatrix
SetMatrix
SetMatrix method [DirectComposition]
SetMatrix method [DirectComposition]
IDCompositionColorMatrixEffect interface
dcomp/IDCompositionColorMatrixEffect::SetMatrix
directcomp.idcompositioncolormatrixeffect_setmatrix
directcomp\idcompositioncolormatrixeffect_setmatrix.htm
directcomp
1EE0C9B6-6309-40A3-AE80-A47C45BBA536
12/05/2018
IDCompositionColorMatrixEffect interface [DirectComposition],SetMatrix method, IDCompositionColorMatrixEffect.SetMatrix, IDCompositionColorMatrixEffect::SetMatrix, SetMatrix, SetMatrix method [DirectComposition], SetMatrix method [DirectComposition],IDCompositionColorMatrixEffect interface, dcomp/IDCompositionColorMatrixEffect::SetMatrix, directcomp.idcompositioncolormatrixeffect_setmatrix
dcomp.h
Windows
Dcomp.lib
Dcomp.dll
Windows
19H1
IDCompositionColorMatrixEffect::SetMatrix
dcomp/IDCompositionColorMatrixEffect::SetMatrix
c++
APIRef
kbSyntax
COM
Dcomp.dll
IDCompositionColorMatrixEffect.SetMatrix

IDCompositionColorMatrixEffect::SetMatrix

-description

Sets the matrix used by the effect to multiply the RGBA values of the image.

-parameters

-param matrix [in, ref]

Type: const D2D1_MATRIX_5X4_F

The matrix used by the effect to multiply the RGBA values of the image. The matrix is column major and is applied as shown in the following equation:

Matrix equation

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IDCompositionColorMatrixEffect