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.

ID3D10Device1::CreateBlendState1 method

Create a blend-state object that encapsules blend state for the output-merger stage.

Syntax


HRESULT CreateBlendState1(
  [in]  const D3D10_BLEND_DESC1 *pBlendStateDesc,
  [out]       ID3D10BlendState1 **ppBlendState
);

Parameters

pBlendStateDesc [in]

Type: const D3D10_BLEND_DESC1*

Pointer to a blend-state description (see D3D10_BLEND_DESC1).

ppBlendState [out]

Type: ID3D10BlendState1**

Address of a pointer to the blend-state object created (see ID3D10BlendState1 Interface).

Return value

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

Remarks

An application can create up to 4096 unique blend-state objects. For each object created, the runtime checks to see if a previous object has the same state. If such a previous object exists, the runtime will return a pointer to previous instance instead of creating a duplicate object.

This method requires Windows Vista Service Pack 1.

Requirements

Header

D3D10_1.h

See also

ID3D10Device1 Interface

 

 

Show:
© 2017 Microsoft