Fungsi XMVectorSplatX (directxmath.h)

Mereplikasi komponen x vektor ke semua komponen.

Sintaks

XMVECTOR XM_CALLCONV XMVectorSplatX(
  [in] FXMVECTOR V
) noexcept;

Parameter

[in] V

Vektor untuk memilih komponen x.

Mengembalikan nilai

Mengembalikan vektor, semua komponennya sama dengan komponen x V.

Keterangan

Persyaratan Platform

Microsoft Visual Studio 2010 atau Microsoft Visual Studio 2012 dengan Windows SDK untuk Windows 8. Didukung untuk aplikasi desktop Win32, aplikasi Windows Store, dan aplikasi Windows Phone 8.

Persyaratan

   
Target Platform Windows
Header directxmath.h (termasuk DirectXMath.h)

Lihat juga

Fungsi Vektor Component-Wise