D3D10StateBlockMaskDisableCapture function

Disable state capturing with a state-block mask.

Syntax


HRESULT D3D10StateBlockMaskDisableCapture(
  _Inout_  D3D10_STATE_BLOCK_MASK *pMask,
  _In_     D3D10_DEVICE_STATE_TYPES StateType,
  _In_     UINT RangeStart,
  _In_     UINT RangeLength
);

Parameters

pMask [in, out]

Type: D3D10_STATE_BLOCK_MASK*

A state block mask (see D3D10_STATE_BLOCK_MASK).

StateType [in]

Type: D3D10_DEVICE_STATE_TYPES

The type of device state to disable (see D3D10_DEVICE_STATE_TYPES).

RangeStart [in]

Type: UINT

The lower end of the range of values to set to false.

RangeLength [in]

Type: UINT

The upper end of the range of values to set to false.

Return value

Type: HRESULT

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

Remarks

This is an example of how to call this function. It creates a mask that cannot capture and apply to geometry-shader samplers in slots 2 ~ 23.



D3D10_STATE_BLOCK_MASK stateBlockMask;
D3D10StateBlockMaskDisableCapture(&stateBlockMask, 
                                 D3D10_DST_GS_SAMPLERS, 
                                 2, 23);


Requirements

Header

D3D10Effect.h

Library

D3D10.lib

DLL

D3D10.dll

See also

Core Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft