D3D10StateBlockMaskGetSetting

D3D10StateBlockMaskGetSetting function

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

pMask [in]

Type: D3D10_STATE_BLOCK_MASK*

State block mask. See D3D10_STATE_BLOCK_MASK.

StateType [in]

Type: D3D10_DEVICE_STATE_TYPES

The type of device state. See D3D10_DEVICE_STATE_TYPES.

Entry [in]

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

Header

D3D10Effect.h

Library

D3D10.lib

DLL

D3D10.dll

See also

Effect Functions
Core Functions

 

 

Show:
© 2016 Microsoft