D3DX11CreateSegmentedScan function (d3dcsx.h)

Creates a segmented scan context.

Syntax

HRESULT D3DX11CreateSegmentedScan(
  [in]  ID3D11DeviceContext  *pDeviceContext,
        UINT                 MaxElementScanSize,
  [out] ID3DX11SegmentedScan **ppScan
);

Parameters

[in] pDeviceContext

Type: ID3D11DeviceContext*

Pointer to an ID3D11DeviceContext interface.

MaxElementScanSize

Type: UINT

Maximum single scan size, in elements (FLOAT, UINT, or INT).

[out] ppScan

Type: ID3DX11SegmentedScan**

Pointer to a ID3DX11SegmentedScan Interface pointer that will be set to the created interface object.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 11 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3dcsx.h
Library D3dcsx.lib

See also

D3DCSX 11 Functions