ID3D11DeviceContext::OMGetBlendState method
Get the blend state of the output-merger stage.
Syntax
void OMGetBlendState(
[out, optional] ID3D11BlendState **ppBlendState,
[out, optional] FLOAT BlendFactor[4],
[out, optional] UINT *pSampleMask
);
Parameters
- ppBlendState [out, optional]
-
Type: ID3D11BlendState**
Address of a pointer to a blend-state interface (see ID3D11BlendState).
- BlendFactor [out, optional]
-
Type: FLOAT[4]
Array of blend factors, one for each RGBA component.
- pSampleMask [out, optional]
-
Type: UINT*
Pointer to a sample mask.
Return value
Returns nothing.
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.
Windows Phone 8: This API is supported.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: