Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Vector Initialization Functions

Lists the vector initialization functions.

In this section

TopicDescription

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

 

 

Show:
© 2017 Microsoft