D3D10_DDI_BLEND_DESC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

typedef struct D3D10_DDI_BLEND_DESC {
  [in] BOOL               AlphaToCoverageEnable;
       BOOL               BlendEnable[D3D10_DDI_SIMULTANEOUS_RENDER_TARGET_COUNT];
  [in] D3D10_DDI_BLEND    SrcBlend;
  [in] D3D10_DDI_BLEND    DestBlend;
  [in] D3D10_DDI_BLEND_OP BlendOp;
  [in] D3D10_DDI_BLEND    SrcBlendAlpha;
  [in] D3D10_DDI_BLEND    DestBlendAlpha;
  [in] D3D10_DDI_BLEND_OP BlendOpAlpha;
       UINT8              RenderTargetWriteMask[D3D10_DDI_SIMULTANEOUS_RENDER_TARGET_COUNT];
} D3D10_DDI_BLEND_DESC;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3d10_ddi_blend_desc)

D3D10_DDI_BLEND_DESC structure

Description

The D3D10_DDI_BLEND_DESC structure describes a blend state.

Members

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.

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.

SrcBlend [in]

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

DestBlend [in]

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

BlendOp [in]

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

SrcBlendAlpha [in]

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

DestBlendAlpha [in]

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

BlendOpAlpha [in]

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

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