ID3D10EffectPass::ComputeStateBlockMask method (d3d10effect.h)

Generate a mask for allowing/preventing state changes.

Syntax

HRESULT ComputeStateBlockMask(
  [in] D3D10_STATE_BLOCK_MASK *pStateBlockMask
);

Parameters

[in] pStateBlockMask

Type: D3D10_STATE_BLOCK_MASK*

A pointer to a state-block mask (see D3D10_STATE_BLOCK_MASK).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10Effect Interface

ID3D10EffectPass