Export (0) Print
Expand All

XMINT2 structure

A 2D vector where each component is a signed integer.

For a list of more functionality such as constructors and operators that are available using XMINT2 when you are programming in C++, see XMINT2 Extensions.

Note  See DirectXMath Library Type Equivalences for information about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.

Syntax


struct XMINT2 {
  int32_t x;
  int32_t y;
};

Members

x

Signed integer value describing the x coordinate of the vector.

y

Signed integer value describing the y coordinate of the vector.

Remarks

You can use XMLoadSInt2 to load XMINT2 into instances of XMVECTOR.

You can use XMStoreSInt2 to store instances of XMVECTOR into an instance of XMINT2.

Namespace: Use DirectX

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.

Requirements

Header

DirectXMath.h

See also

XMINT2 Extensions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft