ID3D10Device::OMGetBlendState method (d3d10.h)
Get the blend state of the output-merger stage.
Syntax
void OMGetBlendState(
[out] ID3D10BlendState **ppBlendState,
[out] FLOAT [4] BlendFactor,
[out] UINT *pSampleMask
);
Parameters
[out] ppBlendState
Type: ID3D10BlendState**
Address of a pointer to a blend-state interface (see ID3D10BlendState).
[out] BlendFactor
Type: FLOAT
Array of blend factors, one for each RGBA component.
[out] pSampleMask
Type: UINT*
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |