D3D10StateBlockMaskDifference function (d3d10effect.h)

Combine two state-block masks with a bitwise XOR.

Syntax

HRESULT D3D10StateBlockMaskDifference(
  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 XOR operation. See D3D10_STATE_BLOCK_MASK.

pB

Type: D3D10_STATE_BLOCK_MASK*

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

pResult

Type: D3D10_STATE_BLOCK_MASK*

The result of the bitwise XOR 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