共用方式為


XMFLOAT4A property

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

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

 

Syntax

Property value

Remarks

XMFLOAT4A can be loaded into instances of XMVECTOR by using XMLoadFloat4A.

Instances of XMVECTOR can be stored into an instance of XMFLOAT4A with XMStoreFloat4A.

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

Namespace

Use DirectX.

Header

DirectXMath.h

See also

DirectXMath Library Structures

XMFLOAT4