D3D10StateBlockMaskDifference function (d3d10effect.h)

Combine two state-block masks with a bitwise XOR.

Syntax

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

[in] pB

Type: D3D10_STATE_BLOCK_MASK*

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

[out] 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