D3D10StateBlockMaskGetSetting function (d3d10effect.h)

Get an element in a state-block mask; determine if an element is allowed by the mask for capturing and applying.

Syntax

BOOL D3D10StateBlockMaskGetSetting(
  [in] D3D10_STATE_BLOCK_MASK   *pMask,
  [in] D3D10_DEVICE_STATE_TYPES StateType,
  [in] UINT                     Entry
);

Parameters

[in] pMask

Type: D3D10_STATE_BLOCK_MASK*

State block mask. See D3D10_STATE_BLOCK_MASK.

[in] StateType

Type: D3D10_DEVICE_STATE_TYPES

The type of device state. See D3D10_DEVICE_STATE_TYPES.

[in] Entry

Type: UINT

The entry within the device state. This is only relevant for state types that have more than one entry, such as D3D10_DST_GS_SAMPLERS.

Return value

Type: BOOL

Returns true if the specified feature is allowed by the mask for capturing and applying, and false otherwise.

Requirements

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

See also

Core Functions

Effect Functions