Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 3.83 KB

ns-d3d10umddi-d3d10_ddi_blend_desc.md

File metadata and controls

103 lines (75 loc) · 3.83 KB
UID title description old-location ms.date keywords 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 tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3d10umddi.D3D10_DDI_BLEND_DESC
D3D10_DDI_BLEND_DESC (d3d10umddi.h)
The D3D10_DDI_BLEND_DESC structure describes a blend state.
display\d3d10_ddi_blend_desc.htm
04/01/2021
D3D10_DDI_BLEND_DESC structure
D3D10_DDI_BLEND_DESC, D3D10_DDI_BLEND_DESC structure [Display Devices], UMDisplayDriver_Dx10param_Structs_8dd04d52-105b-4cc3-be87-5900625dcd6d.xml, d3d10umddi/D3D10_DDI_BLEND_DESC, display.d3d10_ddi_blend_desc
d3d10umddi.h
D3d10umddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
display
D3D10_DDI_BLEND_DESC
D3D10_DDI_BLEND_DESC
d3d10umddi/D3D10_DDI_BLEND_DESC
APIRef
kbSyntax
HeaderDef
d3d10umddi.h
D3D10_DDI_BLEND_DESC

D3D10_DDI_BLEND_DESC structure

-description

The D3D10_DDI_BLEND_DESC structure describes a blend state.

-struct-fields

-field AlphaToCoverageEnable [in]

A Boolean value that specifies whether transparency coverage is enabled. TRUE indicates transparency coverage is enabled; FALSE indicates transparency coverage is disabled. This member is relevant for multiple-sample antialiasing only.

-field BlendEnable [in]

An array of Boolean values that specify whether blending is enabled for each associated render target. TRUE indicates blending is enabled; FALSE indicates blending is disabled.

-field SrcBlend [in]

A D3D10_DDI_BLEND-typed value that indicates the blend mode of the source for all enabled render targets.

-field DestBlend [in]

A D3D10_DDI_BLEND-typed value that indicates the blend mode of the destination for all enabled render targets.

-field BlendOp [in]

A D3D10_DDI_BLEND_OP-typed value that indicates the blending operation for all enabled render targets.

-field SrcBlendAlpha [in]

A D3D10_DDI_BLEND-typed value that indicates the transparency blend mode of the source for all enabled render targets.

-field DestBlendAlpha [in]

A D3D10_DDI_BLEND-typed value that indicates the transparency blend mode of the destination for all enabled render targets.

-field BlendOpAlpha [in]

A D3D10_DDI_BLEND_OP-typed value that indicates the transparency blending operation for all enabled render targets.

-field RenderTargetWriteMask [in]

An array of 8-bit bitwise values that indicate the write properties for each associated render target. Each bit of each element must be set to one of the following values from the D3D10_DDI_COLOR_WRITE_ENABLE enumeration.

Value Meaning
D3D10_DDI_COLOR_WRITE_ENABLE_RED (1) Writes red
D3D10_DDI_COLOR_WRITE_ENABLE_GREEN (2) Writes green
D3D10_DDI_COLOR_WRITE_ENABLE_BLUE (4) Writes blue
D3D10_DDI_COLOR_WRITE_ENABLE_ALPHA (8) Writes a transparency level
D3D10_DDI_COLOR_WRITE_ENABLE_ALL (bitwise OR of 1,2,4,8) Writes red, green, blue, and a transparency level

-see-also

CalcPrivateBlendStateSize

CreateBlendState

D3D10_DDI_BLEND

D3D10_DDI_BLEND_OP