D3DX11CreateScan function (d3dcsx.h)
Creates a scan context.
Syntax
HRESULT D3DX11CreateScan(
[in] ID3D11DeviceContext *pDeviceContext,
UINT MaxElementScanSize,
UINT MaxScanCount,
[out] ID3DX11Scan **ppScan
);
Parameters
[in] pDeviceContext
Type: ID3D11DeviceContext*
The ID3D11DeviceContext the scan is associated with.
MaxElementScanSize
Type: UINT
Maximum single scan size, in elements (FLOAT, UINT, or INT).
MaxScanCount
Type: UINT
Maximum number of scans in multiscan.
[out] ppScan
Type: ID3DX11Scan**
Pointer to a ID3DX11Scan 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 |