CD3D11_BLEND_DESC::CD3D11_BLEND_DESC(CD3D11_DEFAULT) function (d3d11.h)

Instantiates a new instance of a CD3D11_BLEND_DESC structure that is initialized with default blend-state values.

Syntax

void CD3D11_BLEND_DESC(
  CD3D11_DEFAULT unnamedParam1
);

Parameters

unnamedParam1

TBD

Return value

None

Remarks

Here are the default depth-stencil-state values for the members of D3D11_BLEND_DESC:

AlphaToCoverageEnable = FALSE;
        IndependentBlendEnable = FALSE;
        const D3D11_RENDER_TARGET_BLEND_DESC defaultRenderTargetBlendDesc =
        {
            FALSE,
            D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
            D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
            D3D11_COLOR_WRITE_ENABLE_ALL,
        };
        for (UINT i = 0; i < D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; ++i)
            RenderTarget[ i ] = defaultRenderTargetBlendDesc;

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_BLEND_DESC