D3D10StateBlockMaskEnableAll function (d3d10effect.h)

Enable a state-block mask to capture and apply all state variables.

Syntax

HRESULT D3D10StateBlockMaskEnableAll(
  [out] D3D10_STATE_BLOCK_MASK *pMask
);

Parameters

[out] pMask

Type: D3D10_STATE_BLOCK_MASK*

A mask with everything turned on.

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