Bewerken

Delen via


D3D10_1_DDI_BLEND_DESC structure (d3d10umddi.h)

The D3D10_1_DDI_BLEND_DESC structure describes a blend state.

Syntax

typedef struct D3D10_1_DDI_BLEND_DESC {
  [in] BOOL                                AlphaToCoverageEnable;
  [in] BOOL                                IndependentBlendEnable;
       D3D10_DDI_RENDER_TARGET_BLEND_DESC1 RenderTarget[D3D10_DDI_SIMULTANEOUS_RENDER_TARGET_COUNT];
} D3D10_1_DDI_BLEND_DESC;

Members

[in] AlphaToCoverageEnable

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.

[in] IndependentBlendEnable

A Boolean value that specifies only whether the CalcPrivateBlendStateSize(D3D10_1) function replicated the first entry in the array that the RenderTarget member specifies to the other entries of that array. TRUE indicates the first entry was not replicated; FALSE indicates that the first entry in the array in the RenderTarget member is replicated to the other entries of the array.

[in] RenderTarget[D3D10_DDI_SIMULTANEOUS_RENDER_TARGET_COUNT]

An array of D3D10_DDI_RENDER_TARGET_BLEND_DESC1 structures that indicate the blend state for each associated render target.

Requirements

Requirement Value
Minimum supported client D3D10_1_DDI_BLEND_DESC is supported on Windows Vista with Service Pack 1 (SP1) and later versions and Windows Server 2008 and later versions.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateBlendStateSize(D3D10_1)

CreateBlendState(D3D10_1)

D3D10_DDI_BLEND

D3D10_DDI_BLEND_OP

D3D10_DDI_RENDER_TARGET_BLEND_DESC1