VectorZero

#define VectorPermute(Vec1, Vec2, Mask) my_perm(Vec1, Vec2, Mask)

Windows
MacOS
Linux
On this page

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h

Include

#include "Math/UnrealMathNeon.h"

Syntax

VectorRegister VectorZero()

Remarks

define VectorPermute(Vec1, Vec2, Mask) my_perm(Vec1, Vec2, Mask)

/ ** Reads NumBytesMinusOne+1 bytes from the address pointed to by Ptr, always reading the aligned 16 bytes containing the start of Ptr, but only reading the next 16 bytes if the data straddles the boundary * / FORCEINLINE VectorRegister VectorLoadNPlusOneUnalignedBytes(const void* Ptr, int NumBytesMinusOne) { return VectorPermute( my_ld (0, (float*)Ptr), my_ld(NumBytesMinusOne, (float*)Ptr), my_lvsl(0, (float*)Ptr) ); } Returns a vector with all zeros.

Returns

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss