DarkBASIC Professional Help File

DX11 ENABLE BLEND STATE ALPHA COVERAGE

Sets whether to enable alpha coverage for the given blend state.
If enabled, the alpha channel of the first render target will be used as a coverage mask used for anti-aliasing with all
remaining render targets. This is generally useful for rendering dense floor covers such as grass.

Syntax

    DX11 ENABLE BLEND STATE ALPHA COVERAGE blendState, enable

Parameters

    blendState

> Dword
> The blend state to enable / disable alpha coverage for.

    enable

> Boolean
> Set to true to enable alpha coverage multisampling for the given blend state, or false otherwise.

Returns

This function does not return a value.

See also

BLENDSTATE Functions Menu
DX11 Function Categories