XMFLOAT2A structure (directxmath.h)

Describes an XMFLOAT2 structure aligned on a 16-byte boundary.

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

Syntax

struct XMFLOAT2A : XMFLOAT2 {
  void        XMFLOAT2A();
  void        XMFLOAT2A(
    const XMFLOAT2A & 
  );
  XMFLOAT2A & operator=(
    const XMFLOAT2A & 
  );
  void        XMFLOAT2A(
    XMFLOAT2A && 
  );
  XMFLOAT2A & operator=(
    XMFLOAT2A && 
  );
  noexcept    XMFLOAT2A(
    float _x,
    float _y
  );
  noexcept    XMFLOAT2A(
    const float *pArray
  );
};

Inheritance

The XMFLOAT2A structure implements XMFLOAT2.

Members

void XMFLOAT2A()

void XMFLOAT2A( const XMFLOAT2A & )

XMFLOAT2A & operator=( const XMFLOAT2A & )

void XMFLOAT2A( XMFLOAT2A && )

XMFLOAT2A & operator=( XMFLOAT2A && )

noexcept XMFLOAT2A( float _x, float _y)

noexcept XMFLOAT2A( const float *pArray)

Remarks

XMFLOAT2A can be loaded into instances of XMVECTOR by using XMLoadFloat2A.

Instances of XMVECTOR can be stored into an instance of XMFLOAT2A with XMStoreFloat2A.

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

DirectXMath Library Structures

XMFLOAT2