Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Device::OMGetBlendState method

Get the blend state of the output-merger stage.

Syntax


void OMGetBlendState(
  [out] ID3D10BlendState **ppBlendState,
  [out] FLOAT            BlendFactor[4],
  [out] UINT             *pSampleMask
);

Parameters

ppBlendState [out]

Type: ID3D10BlendState**

Address of a pointer to a blend-state interface (see ID3D10BlendState).

BlendFactor[4] [out]

Type: FLOAT

Array of blend factors, one for each RGBA component.

pSampleMask [out]

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.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Show:
© 2017 Microsoft