Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 3.7 KB

nf-d3dcsx-id3dx11scan-scan.md

File metadata and controls

100 lines (73 loc) · 3.7 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3dcsx.ID3DX11Scan.Scan
ID3DX11Scan::Scan (d3dcsx.h)
Performs an unsegmented scan of a sequence.
4ae96918-c884-060a-690a-7632d7df6622
ID3DX11Scan interface [Direct3D 11]
Scan method
ID3DX11Scan.Scan
ID3DX11Scan::Scan
Scan
Scan method [Direct3D 11]
Scan method [Direct3D 11]
ID3DX11Scan interface
d3dcsx/ID3DX11Scan::Scan
direct3d11.id3dx11scan_scan
direct3d11\id3dx11scan_scan.htm
direct3d11
42b91efd-3d84-4c76-bb9f-da0f398da6c7
12/05/2018
4ae96918-c884-060a-690a-7632d7df6622, ID3DX11Scan interface [Direct3D 11],Scan method, ID3DX11Scan.Scan, ID3DX11Scan::Scan, Scan, Scan method [Direct3D 11], Scan method [Direct3D 11],ID3DX11Scan interface, d3dcsx/ID3DX11Scan::Scan, direct3d11.id3dx11scan_scan
d3dcsx.h
Windows
D3dcsx.lib
Windows
19H1
ID3DX11Scan::Scan
d3dcsx/ID3DX11Scan::Scan
c++
APIRef
kbSyntax
COM
d3dcsx.lib
d3dcsx.dll
ID3DX11Scan.Scan

ID3DX11Scan::Scan

-description

Performs an unsegmented scan of a sequence.

-parameters

-param ElementType [in]

Type: D3DX11_SCAN_DATA_TYPE

The type of element in the sequence. See D3DX11_SCAN_DATA_TYPE for more information.

-param OpCode [in]

Type: D3DX11_SCAN_OPCODE

The binary operation to perform. See D3DX11_SCAN_OPCODE for more information.

-param ElementScanSize [in]

Type: UINT

Size of scan in elements.

-param pSrc [in]

Type: ID3D11UnorderedAccessView*

Input sequence on the device. Set pSrc and pDst to the same value for in-place scans.

-param pDst [in]

Type: ID3D11UnorderedAccessView*

Output sequence on the device.

-returns

Type: HRESULT

Returns one of the return codes described in the topic Direct3D 11 Return Codes.

-remarks

You must point the parameters pSrc and pDst to typed buffers (and not to raw or structured buffers). For information about buffer types, see Types of Resources. The format of these typed buffers must be DXGI_FORMAT_R32_FLOAT, DXGI_FORMAT_R32_UINT, or DXGI_FORMAT_R32_INT. In addition, the format of these typed buffers must match the scan data type that you specify in the ElementType parameter. For example, if the scan data type is D3DX11_SCAN_DATA_TYPE_UINT, the buffer formats must be DXGI_FORMAT_R32_UINT.

-see-also

ID3DX11Scan