XMINT3 structure (directxmath.h)

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

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

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

Syntax

struct XMINT3 {
  int32_t  x;
  int32_t  y;
  int32_t  z;
  void     XMINT3();
  void     XMINT3(
    const XMINT3 & unnamedParam1
  );
  XMINT3 & operator=(
    const XMINT3 & unnamedParam1
  );
  void     XMINT3(
    XMINT3 && unnamedParam1
  );
  XMINT3 & operator=(
    XMINT3 && unnamedParam1
  );
  void     XMINT3(
    int32_t _x,
    int32_t _y,
    int32_t _z
  ) noexcept;
  void     XMINT3(
    const int32_t *pArray
  ) noexcept;
  bool     operator==(
    const XMINT3 & unnamedParam1
  );
  auto     operator<=>(
    const XMINT3 & 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.

void XMINT3()

Default constructor for XMINT3.

Default constructor for XMINT3.

Note  This constructor is only available under C++.
 

void XMINT3( const XMINT3 & unnamedParam1)

A constructor for XMINT3.

A constructor for XMINT3.

Note  This constructor is only available under C++.

XMINT3 & operator=( const XMINT3 & unnamedParam1)

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

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

Note  This operator is only available under C++.

void XMINT3( XMINT3 && unnamedParam1)

A constructor for XMINT3.

A constructor for XMINT3.

Note  This constructor is only available under C++.

XMINT3 & operator=( XMINT3 && unnamedParam1)

void XMINT3( int32_t _x, int32_t _y, int32_t _z) noexcept

Initializes a new instance of XMINT3 from three int32_t arguments.

This constructor initializes a new instance of XMINT3 from three int32_t arguments.

Note  This constructor is only available under C++.
 

void XMINT3( const int32_t *pArray) noexcept

Initializes a new instance of XMINT3 from a three element int32_t array argument.

This constructor initializes a new instance of XMINT3 from a from a three element int32_t array argument.

Note  This constructor is only available under C++.
 

bool operator==( const XMINT3 & unnamedParam1)

auto operator<=>( const XMINT3 & unnamedParam1)

Remarks

You can use XMLoadSInt3 to load XMINT3 into instances of XMVECTOR.

You can use XMStoreSInt3 to store instances of XMVECTOR into an instance of XMINT3.

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

XMINT3 Extensions