ID3D11DeviceContext::OMGetBlendState Method

Get the blend state of the output-merger stage.

Syntax

public:
void OMGetBlendState(
         ID3D11BlendState **ppBlendState,
         FLOAT BlendFactor[4],
         UINT *pSampleMask
)  

Parameters

ppBlendState
Type: ID3D11BlendState **

[out, optional] Address of a pointer to a blend-state interface (see ID3D11BlendState).

BlendFactor
Type: FLOAT 

[out, optional] Array of blend factors, one for each RGBA component.

pSampleMask
Type: UINT *

[out, optional] Pointer to a sample mask.

Return value

None.

Remarks

The reference count of the returned interface will be incremented by one when the blend state is retrieved. Applications must release returned pointer(s) when they are no longer needed, or else there will be a memory leak.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members