Creates a vector, each of whose components is either 0.0f or 1.0f.
XMVECTOR XMVectorSetBinaryConstant(
uint32_t C0,
uint32_t C1,
uint32_t C2,
uint32_t C3
)
C0
Type: uint32_t
This parameter must be a number (an immediate value, either 0 or 1) and not a variable. If C0 is 0, the x-component of the returned vector will be 0.0f. Otherwise, the x-component will be 1.0f.
C1
Type: uint32_t
This parameter must be a number (an immediate value, either 0 or 1) and not a variable. If C1 is 0, the y-component of the returned vector will be 0.0f. Otherwise, the y-component will be 1.0f.
C2
Type: uint32_t
This parameter must be a number (an immediate value, either 0 or 1) and not a variable. If C2 is 0, the z-component of the returned vector will be 0.0f. Otherwise, the z-component will be 1.0f.
C3
Type: uint32_t
This parameter must be a number (an immediate value, either 0 or 1) and not a variable. If C3 is 0, the w-component of the returned vector will be 0.0f. Otherwise, the w-component will be 1.0f.
Type: XMVECTOR
Returns an XMVECTOR, each of whose components is either 0.0f or 1.0f.
Header: Declared in directxmath.h.