Skip to content

Latest commit

 

History

History
143 lines (109 loc) · 3.62 KB

nf-directxmath-xmvectorsetintbyindexptr.md

File metadata and controls

143 lines (109 loc) · 3.62 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:directxmath.XMVectorSetIntByIndexPtr
XMVectorSetIntByIndexPtr function (directxmath.h)
Use a pointer to an integer instance to set the value of one of the four components of an XMVECTOR Data Typecontaining integer data referenced by an index.
Use DirectX..XMVectorSetIntByIndexPtr
XMVectorSetIntByIndexPtr
XMVectorSetIntByIndexPtr method [DirectX Math Support APIs]
dxmath.xmvectorsetintbyindexptr
dxmath\xmvectorsetintbyindexptr.htm
dxmath
M:Microsoft.directx_sdk.accessors.XMVectorSetIntByIndexPtr(XMVECTOR,const uint32_t,size_t)
12/05/2018
Use DirectX..XMVectorSetIntByIndexPtr, XMVectorSetIntByIndexPtr, XMVectorSetIntByIndexPtr method [DirectX Math Support APIs], dxmath.xmvectorsetintbyindexptr
directxmath.h
DirectXMath.h
Windows
Use DirectX.
Windows
19H1
XMVectorSetIntByIndexPtr
directxmath/XMVectorSetIntByIndexPtr
c++
APIRef
kbSyntax
COM
directxmathvector.inl
XMVectorSetIntByIndexPtr

XMVectorSetIntByIndexPtr function

-description

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.

-parameters

-param V

A XMVECTOR Data Type containing integer data.

-param x [in]

A pointer to an integer instance used to set the i component of the returned XMVECTOR Data Type.

-param i

The index of the component to be set.

-returns

An instance of XMVECTOR Data Type whose i component has been set to the integer value provided by the argument f. All other components of the returned XMVECTOR Data Type instance have the same value as those of the input vector V.

-remarks

The value of i must be positive and less than or equal to three ( 0 <= i <= 3 ).

The indexes have the following correspondence with XMVECTOR Data Type vector components:

Index Component
0 x
1 y
2 z
3 w
 

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 Vector Accessor Functions

XMVectorGetIntByIndexPtr

XMVectorSetIntByIndex