Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 5.1 KB

ovw-xnamath-reference-functions-vector-initialization.md

File metadata and controls

50 lines (36 loc) · 5.1 KB
description ms.assetid title ms.topic ms.date
Lists the vector initialization functions.
862a1a83-2371-9885-20d4-184aae52fd10
Vector initialization functions
reference
05/31/2018

Vector initialization functions

Lists the vector initialization functions.

In this section

Topic Description
XMVectorFalseInt
Returns the zero (false) vector.
XMVectorReplicate
Replicates a floating-point value into all four components of a vector.
XMVectorReplicateInt
Replicates an integer value into all four components of a vector.
XMVectorReplicateIntPtr
Replicates an integer value referenced by a pointer, into all four components of a vector.
XMVectorReplicatePtr
Replicates a floating-point value referenced by pointer into all four components of a vector.
XMVectorSet
Creates a vector using four floating-point values.
XMVectorSetBinaryConstant
Creates a vector, each of whose components is either 0.0f or 1.0f.
XMVectorSetInt
Creates a vector with unsigned integer components.
XMVectorSplatConstant
Creates a vector with identical floating-point components. Each component is a constant divided by two raised to an integer exponent.
XMVectorSplatConstantInt
Creates a vector with identical integer components.
XMVectorSplatEpsilon
Returns a vector, each of whose components are epsilon (1.192092896e-7).
XMVectorSplatInfinity
Returns a vector, each of whose components are infinity (0x7F800000).
XMVectorSplatOne
Returns a vector, each of whose components are one.
XMVectorSplatQNaN
Returns a vector, each of whose components are QNaN (0x7CF00000).
XMVectorSplatSignMask
Returns a vector, each of whose components are the sign mask (0x80000000).
XMVectorTrueInt
Returns a vector, each of whose components represents true (0xFFFFFFFF).
XMVectorZero
Creates the zero vector.

 

Related topics

DirectXMath Library Vector Functions