Skip to content

Latest commit

 

History

History
92 lines (68 loc) · 2.77 KB

nf-directxpackedvector-xmconvertfloattohalfstream.md

File metadata and controls

92 lines (68 loc) · 2.77 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:directxpackedvector.XMConvertFloatToHalfStream
XMConvertFloatToHalfStream function (directxpackedvector.h)
Converts a stream of single-precision floating-point values to a stream of half-precision floating-point values.
DirectX::PackedVector.XMConvertFloatToHalfStream
XMConvertFloatToHalfStream
XMConvertFloatToHalfStream method [DirectX Math Support APIs]
dxmath.xmconvertfloattohalfstream
dxmath\xmconvertfloattohalfstream.htm
dxmath
M:Microsoft.directx_sdk.conversion.XMConvertFloatToHalfStream(HALF@,uint32_t,const float,uint32_t,uint32_t)
12/05/2018
DirectX::PackedVector.XMConvertFloatToHalfStream, XMConvertFloatToHalfStream, XMConvertFloatToHalfStream method [DirectX Math Support APIs], dxmath.xmconvertfloattohalfstream
directxpackedvector.h
DirectXPackedVector.h
Windows
DirectX::PackedVector
Windows
19H1
XMConvertFloatToHalfStream
directxpackedvector/XMConvertFloatToHalfStream
c++
APIRef
kbSyntax
COM
directxpackedvector.h
XMConvertFloatToHalfStream

XMConvertFloatToHalfStream function

-description

Converts a stream of single-precision floating-point values to a stream of half-precision floating-point values.

-parameters

-param pOutputStream [out]

Address of the first HALF value in the output stream.

-param OutputStride [in]

Stride in bytes between the HALF values in the output stream.

-param pInputStream [in]

Address of the first float value in the input stream.

-param InputStride [in]

Stride in bytes between the float values in the input stream.

-param FloatCount [in]

Number of float values to convert.

-returns

Returns the address of the first HALF value in the output stream.

-remarks

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

-see-also

DirectXMath Library Conversion Functions

XMConvertFloatToHalf