XMVectorSplatConstantInt-Funktion (directxmath.h)

Erstellt einen Vektor mit identischen ganzzahligen Komponenten.

Syntax

XMVECTOR XM_CALLCONV XMVectorSplatConstantInt(
  [in] int32_t IntConstant
) noexcept;

Parameter

[in] IntConstant

Wert, der in jede Komponente des zurückgegebenen Vektors repliziert werden soll.

Der Wert von IntConstant muss erfüllen: -16 <= IntConstant<=15.

Hinweis Dieser Parameter muss eine Zahl (ein unmittelbarer Wert) und keine Variable sein.
 

Rückgabewert

Gibt einen XMVECTOR-Wert zurück, dessen Komponenten jeweils IntConstant sind.

Hinweise

Plattformanforderungen

Microsoft Visual Studio 2010 oder Microsoft Visual Studio 2012 mit dem Windows SDK für Windows 8. Unterstützt für Win32-Desktop-Apps, Windows Store-Apps und Windows Phone 8-Apps.

Anforderungen

   
Zielplattform Windows
Kopfzeile directxmath.h

Weitere Informationen

Vektorinitialisierungsfunktionen

XMVectorSetBinaryConstant

XMVectorSetInt

XMVectorSplatConstant