ID3D10EffectBlendVariable::GetBlendState method (d3d10effect.h)

Get a pointer to a blend-state interface.

Syntax

HRESULT GetBlendState(
  [in]  UINT             Index,
  [out] ID3D10BlendState **ppBlendState
);

Parameters

[in] Index

Type: UINT

Index into an array of blend-state interfaces. If there is only one blend-state interface, use 0.

[out] ppBlendState

Type: ID3D10BlendState**

The address of a pointer to a blend-state interface (see ID3D10BlendState Interface).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectBlendVariable Interface