[−][src]Function directx_math::XMVectorPermute
pub fn XMVectorPermute(
V1: FXMVECTOR,
V2: FXMVECTOR,
PermuteX: u32,
PermuteY: u32,
PermuteZ: u32,
PermuteW: u32
) -> XMVECTOR
Permutes the components of two vectors to create a new vector.
Remarks
If all 4 indices reference only a single vector (i.e. they are all in the range 0-3 or all in the range 4-7),
use XMVectorSwizzle
instead for better performance.
For constant PermuteX/Y/Z/W parameters, it may more efficent to use the template form of XMVectorPermute
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorPermute