DarkBASIC Professional Help File

DX11 ENABLE BLENDING

Sets whether to enable / disable blending for the given blend state and, optionally, render target.

Syntax

    DX11 ENABLE BLENDING blendState, enable, [renderTarget]

Parameters

    blendState

> Dword
> The blend state to set whether blending is active for.

    enable

> Boolean
> Set to true to enable blending or false to disable it.

    [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