Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 wcomponent of an XMVECTOR Data Type. | 
| XMVectorGetIntWPtr | Retrieves the wcomponent 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 xcomponent of an XMVECTOR Data Type. | 
| XMVectorGetIntXPtr | Retrieves the xcomponent 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 ycomponent of an XMVECTOR Data Type. | 
| XMVectorGetIntYPtr | Retrieves the ycomponent 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 zcomponent of an XMVECTOR Data Type. | 
| XMVectorGetIntZPtr | Retrieves the zcomponent 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 wcomponent of an XMVECTOR Data Type. | 
| XMVectorGetWPtr | Retrieve the wcomponent 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 xcomponent of an XMVECTOR Data Type. | 
| XMVectorGetXPtr | Retrieve the xcomponent 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 ycomponent of an XMVECTOR Data Type. | 
| XMVectorGetYPtr | Retrieve the ycomponent 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 zcomponent of an XMVECTOR Data Type. | 
| XMVectorGetZPtr | Retrieve the zcomponent 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 wcomponent of an XMVECTOR Data Type. | 
| XMVectorSetIntWPtr | Sets the wcomponent 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 xcomponent of an XMVECTOR Data Type. | 
| XMVectorSetIntXPtr | Sets the xcomponent 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 ycomponent of an XMVECTOR Data Type. | 
| XMVectorSetIntYPtr | Sets the ycomponent 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 zcomponent of an XMVECTOR Data Type. | 
| XMVectorSetIntZPtr | Sets the zcomponent 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 wcomponent of an XMVECTOR Data Type. | 
| XMVectorSetWPtr | Sets the wcomponent 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 xcomponent of an XMVECTOR Data Type. | 
| XMVectorSetXPtr | Sets the xcomponent 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 ycomponent of an XMVECTOR Data Type. | 
| XMVectorSetYPtr | Sets the ycomponent 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 zcomponent of an XMVECTOR Data Type. | 
| XMVectorSetZPtr | Sets the zcomponent of an XMVECTOR containing floating-point data, with a value contained in an instance of float referred to by a pointer. | 
Related topics