XMVectorSplatConstantInt

Creates a vector with identical integer components.

Syntax

XMVECTOR XMVectorSplatConstantInt(
         int32_t IntConstant
)  

Parameters

IntConstant
Type: int32_t 

Value to replicate to each component of the returned vector.

The value of IntConstant must satisfy: -16 <= IntConstant <=15.

Note

  This parameter must be a number (an immediate value) and not a variable.

Return value

Type: XMVECTOR 

Returns an XMVECTOR, each of whose components is IntConstant.

Requirements

Header: Declared in directxmath.h.