Converts an XMVECTOR with uint32_t components to an XMVECTOR with float components and applies a uniform bias.
XMVECTOR XMConvertVectorUIntToFloat(
XMVECTOR VUInt,
uint32_t DivExponent
)
VUInt
Type: XMVECTOR
Vector with uint32_t components that is to be converted.
DivExponent
Type: uint32_t
Each component of VUInt will be converted to a float and then divided 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 divided by two raised to the DivExponent power.
Header: Declared in directxmath.h.