DirectXMath Library vector accessor functions

Lists the vector accessor functions provided by the DirectXMath Library.

The DirectXMath vector accessors allow developers to write code that gets and sets individual components of a vector in a portable and optimal manner.

In this section

Topic Description
XMVectorGetByIndex
Retrieve the value of one of the four components of an XMVECTOR Data Type containing floating-point data by index.
XMVectorGetByIndexPtr
Retrieve, into an instance of a floating-point referenced by pointer, the value of one of the four components of an XMVECTOR Data Type containing floating-point data, referenced by index.
XMVectorGetIntByIndex
Retrieve the value of one of the four components of an XMVECTOR Data Type containing integer data by index.
XMVectorGetIntByIndexPtr
Retrieve, into an instance of an integer referenced by pointer, the value of one of the four components of an XMVECTOR Data Type containing integer data by index.
XMVectorGetIntW
Retrieve the w component of an XMVECTOR Data Type.
XMVectorGetIntWPtr
Retrieves the w component of an XMVECTOR Data Type containing integer data, and stores that component's value in an instance of uint32_t referred to by a pointer.
XMVectorGetIntX
Retrieve the x component of an XMVECTOR Data Type.
XMVectorGetIntXPtr
Retrieves the x component of an XMVECTOR Data Type containing integer data, and stores that component's value in an instance of uint32_t referred to by a pointer.
XMVectorGetIntY
Retrieve the y component of an XMVECTOR Data Type.
XMVectorGetIntYPtr
Retrieves the y component of an XMVECTOR Data Type containing integer data, and stores that component's value in an instance of uint32_t referred to by a pointer.
XMVectorGetIntZ
Retrieve the z component of an XMVECTOR Data Type.
XMVectorGetIntZPtr
Retrieves the z component of an XMVECTOR Data Type containing integer data, and stores that component's value in an instance of uint32_t referred to by a pointer.
XMVectorGetW
Retrieve the w component of an XMVECTOR Data Type.
XMVectorGetWPtr
Retrieve the w component of an XMVECTOR Data Type containing floating-point data, and storing that component's value in an instance of float referred to by a pointer.
XMVectorGetX
Retrieve the x component of an XMVECTOR Data Type.
XMVectorGetXPtr
Retrieve the x component of an XMVECTOR Data Type containing floating-point data, and storing that component's value in an instance of float referred to by a pointer.
XMVectorGetY
Retrieve the y component of an XMVECTOR Data Type.
XMVectorGetYPtr
Retrieve the y component of an XMVECTOR Data Type containing floating-point data, and storing that component's value in an instance of float referred to by a pointer.
XMVectorGetZ
Retrieve the z component of an XMVECTOR Data Type.
XMVectorGetZPtr
Retrieve the z component of an XMVECTOR Data Type containing floating-point data, and storing that component's value in an instance of float referred to by a pointer.
XMVectorSetByIndex
Use a floating-point object to set the value of one of the four components of an XMVECTOR Data Type containing integer data referenced by an index.
XMVectorSetByIndexPtr
Use a pointer to a floating-point instance to set the value of one of the four components of an XMVECTOR Data Type containing floating-point data referenced by an index.
XMVectorSetIntByIndex
Use an integer instance to set the value of one of the four components of an XMVECTOR Data Type containing integer data referenced by an index.
XMVectorSetIntByIndexPtr
Use a pointer to an integer instance to set the value of one of the four components of an XMVECTOR Data Type containing integer data referenced by an index.
XMVectorSetIntW
Set the value of the w component of an XMVECTOR Data Type.
XMVectorSetIntWPtr
Sets the w component of an XMVECTOR containing integer data, with a value contained in an instance of uint32_t referred to by a pointer.
XMVectorSetIntX
Set the value of the x component of an XMVECTOR Data Type.
XMVectorSetIntXPtr
Sets the x component of an XMVECTOR containing integer data, with a value contained in an instance of uint32_t referred to by a pointer.
XMVectorSetIntY
Set the value of the y component of an XMVECTOR Data Type.
XMVectorSetIntYPtr
Sets the y component of an XMVECTOR containing integer data, with a value contained in an instance of uint32_t referred to by a pointer.
XMVectorSetIntZ
Set the value of the z component of an XMVECTOR Data Type.
XMVectorSetIntZPtr
Sets the z component of an XMVECTOR containing integer data, with a value contained in an instance of uint32_t referred to by a pointer.
XMVectorSetW
Set the value of the w component of an XMVECTOR Data Type.
XMVectorSetWPtr
Sets the w component of an XMVECTOR containing floating-point data, with a value contained in an instance of float referred to by a pointer.
XMVectorSetX
Set the value of the x component of an XMVECTOR Data Type.
XMVectorSetXPtr
Sets the x component of an XMVECTOR containing floating-point data, with a value contained in an instance of float referred to by a pointer.
XMVectorSetY
Set the value of the y component of an XMVECTOR Data Type.
XMVectorSetYPtr
Sets the y component of an XMVECTOR containing floating-point data, with a value contained in an instance of float referred to by a pointer.
XMVectorSetZ
Set the value of the z component of an XMVECTOR Data Type.
XMVectorSetZPtr
Sets the z component of an XMVECTOR containing floating-point data, with a value contained in an instance of float referred to by a pointer.

 

DirectXMath Library Functions