Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 2.33 KB

nf-directxpackedvector-xmconvertfloattohalf.md

File metadata and controls

80 lines (61 loc) · 2.33 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.XMConvertFloatToHalf
XMConvertFloatToHalf function (directxpackedvector.h)
Converts a single-precision floating-point value to a half-precision floating-point value.
DirectX::PackedVector.XMConvertFloatToHalf
XMConvertFloatToHalf
XMConvertFloatToHalf method [DirectX Math Support APIs]
dxmath.xmconvertfloattohalf
dxmath\xmconvertfloattohalf.htm
dxmath
M:Microsoft.directx_sdk.conversion.XMConvertFloatToHalf(float)
12/05/2018
DirectX::PackedVector.XMConvertFloatToHalf, XMConvertFloatToHalf, XMConvertFloatToHalf method [DirectX Math Support APIs], dxmath.xmconvertfloattohalf
directxpackedvector.h
DirectXMath.h
Windows
DirectX::PackedVector
Windows
19H1
XMConvertFloatToHalf
directxpackedvector/XMConvertFloatToHalf
c++
APIRef
kbSyntax
COM
directxpackedvector.h
XMConvertFloatToHalf

XMConvertFloatToHalf function

-description

Converts a single-precision floating-point value to a half-precision floating-point value.

-parameters

-param Value [in]

float value to convert.

-returns

Returns the half-precision floating-point value closest to Value.

-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

XMConvertFloatToHalfStream

XMConvertHalfToFloat