D3D10StateBlockMaskIntersect function (d3d10effect.h)

Combine two state-block masks with a bitwise AND.

Syntax

HRESULT D3D10StateBlockMaskIntersect(
  [in]  D3D10_STATE_BLOCK_MASK *pA,
  [in]  D3D10_STATE_BLOCK_MASK *pB,
  [out] D3D10_STATE_BLOCK_MASK *pResult
);

Parameters

[in] pA

Type: D3D10_STATE_BLOCK_MASK*

State block mask on the left side of the bitwise AND operation. See D3D10_STATE_BLOCK_MASK.

[in] pB

Type: D3D10_STATE_BLOCK_MASK*

State block mask on the right side of the bitwise AND operation.

[out] pResult

Type: D3D10_STATE_BLOCK_MASK*

The result of the bitwise AND operation.

Return value

Type: HRESULT

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

Requirements

   
Target Platform Windows
Header d3d10effect.h
Library D3D10.lib
DLL D3D10.dll

See also

Core Functions

Effect Functions