D3D10StateBlockMaskIntersect function (d3d10effect.h)

Combine two state-block masks with a bitwise AND.

Syntax

HRESULT D3D10StateBlockMaskIntersect(
  D3D10_STATE_BLOCK_MASK *pA,
  D3D10_STATE_BLOCK_MASK *pB,
  D3D10_STATE_BLOCK_MASK *pResult
);

Parameters

pA

Type: D3D10_STATE_BLOCK_MASK*

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

pB

Type: D3D10_STATE_BLOCK_MASK*

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

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