DarkBASIC Professional Help File

DX11 SET BLEND OPERATION

Sets the blend operation used to blend the new colour with the previous one written to a render target.
The valid blend operation values map directly to the D3D11_BLEND_OP enumeration described on MSDN.

Syntax

    DX11 SET BLEND OPERATION blendState, op, [renderTarget]

Parameters

    blendState

> Dword
> The blend state to set the blend operation for.

    op

> Dword
> The blend operation to use to blend a new pixel with the data already present on a render target.

    [Optional] renderTarget

> Dword
> An ID of a render target to set this specific blend setting for. The valid range is [0..7]. Defaults to 0 which is the value used if multiple render targets are not used by this state.

Returns

This function does not return a value.

See also

BLENDSTATE Functions Menu
DX11 Function Categories