Converts an XMVECTOR with float components to an XMVECTOR with int32_t components and applies a uniform bias.
XMVECTOR XMConvertVectorFloatToInt(
XMVECTOR VFloat,
uint32_t MulExponent
)
VFloat
Type: XMVECTOR
Vector with float components that is to be converted.
MulExponent
Type: uint32_t
Each component of VFloat will be converted to a int32_t and then multiplied by two raised to the DivExponent power. This parameter must be a number (an immediate value) and not a variable.
Type: XMVECTOR
Returns the converted vector, where each component has been multiplied by two raised to the MulExponent power.
Header: Declared in directxmath.h.