XMINT4 structure (directxmath.h)

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

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

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

Syntax

struct XMINT4 {
  int32_t  x;
  int32_t  y;
  int32_t  z;
  int32_t  w;
  void     XMINT4();
  void     XMINT4(
    const XMINT4 & unnamedParam1
  );
  XMINT4 & operator=(
    const XMINT4 & unnamedParam1
  );
  void     XMINT4(
    XMINT4 && unnamedParam1
  );
  XMINT4 & operator=(
    XMINT4 && unnamedParam1
  );
  void     XMINT4(
    int32_t _x,
    int32_t _y,
    int32_t _z,
    int32_t _w
  ) noexcept;
  void     XMINT4(
    const int32_t *pArray
  ) noexcept;
  bool     operator==(
    const XMINT4 & unnamedParam1
  );
  auto     operator<=>(
    const XMINT4 & unnamedParam1
  );
};

Members

x

Signed integer value describing the x coordinate of the vector.

y

Signed integer value describing the y coordinate of the vector.

z

Signed integer value describing the z coordinate of the vector.

w

Signed integer value describing the w coordinate of the vector.

void XMINT4()

Default constructor for XMINT4.

Default constructor for XMINT4.

Note  This constructor is only available under C++.
 

void XMINT4( const XMINT4 & unnamedParam1)

XMINT4 & operator=( const XMINT4 & unnamedParam1)

Assigns the vector component data from one instance of XMINT4 to the current instance of XMINT4.

This operator assigns the vector component data from one instance of XMINT4 to the current instance of XMINT4.

Note  This operator is only available under C++.

void XMINT4( XMINT4 && unnamedParam1)

A constructor for XMINT4.

A constructor for XMINT4.

Note  This constructor is only available under C++.

XMINT4 & operator=( XMINT4 && unnamedParam1)

void XMINT4( int32_t _x, int32_t _y, int32_t _z, int32_t _w) noexcept

Initializes a new instance of XMINT4 from four int32_t arguments.

This constructor initializes a new instance of XMINT4 from four int32_t arguments.

Note  This constructor is only available under C++.
 

void XMINT4( const int32_t *pArray) noexcept

Initializes a new instance of XMINT4 from a four element int32_t array argument.

This constructor initializes a new instance of XMINT4 from a from a four element int32_t array argument.

Note  This constructor is only available under C++.
 

bool operator==( const XMINT4 & unnamedParam1)

auto operator<=>( const XMINT4 & unnamedParam1)

Remarks

You can use XMLoadSInt4 to load XMINT4 into instances of XMVECTOR.

You can use XMStoreSInt4 to store instances of XMVECTOR into an instance of XMINT4.

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

Requirement Value
Header directxmath.h

See also

DirectXMath Library Structures

XMINT4 Extensions