Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathDirectX.h |
| Include | #include "Math/UnrealMathDirectX.h" |
VectorRegister VectorLoadByte4Reverse
(
const uint8 * Ptr
)
Remarks
Loads 4 BYTEs from unaligned memory and converts them into 4 FLOATs in reversed order. IMPORTANT: You need to call VectorResetFloatRegisters() before using scalar FLOATs after you've used this intrinsic! VectorRegister( float(Ptr[3]), float(Ptr[2]), float(Ptr[1]), float(Ptr[0]) )
Parameters
| Name | Description |
|---|---|
| Ptr | Unaligned memory pointer to the 4 BYTEs. |