Navigation
API > API/Runtime > API/Runtime/Core
Description
Loads packed RGB10A2(4 bytes) from unaligned memory and converts them into 4 FLOATs. IMPORTANT: You need to call VectorResetFloatRegisters() before using scalar FLOATs after you've used this intrinsic!
| Name | VectorLoadURGB10A2N |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorLoadURGB10A2N
(
void * Ptr
)
VectorRegister with 4 FLOATs loaded from Ptr.
Parameters
| Name | Remarks |
|---|---|
| Ptr | Unaligned memory pointer to the RGB10A2(4 bytes). |