D3D10StateBlockMaskUnion function (d3d10effect.h)

Combine two state-block masks with a bitwise OR.

Syntax

HRESULT D3D10StateBlockMaskUnion(
  [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 OR operation. See D3D10_STATE_BLOCK_MASK.

[in] pB

Type: D3D10_STATE_BLOCK_MASK*

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

[out] pResult

Type: D3D10_STATE_BLOCK_MASK*

The result of the bitwise OR operation.

Return value

Type: HRESULT

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

Requirements

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

See also

Core Functions

Effect Functions