Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorLoadURGB10A2N
(
void * Ptr
)
Remarks
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! VectorRegister with 4 FLOATs loaded from Ptr.
Parameters
| Name | Description |
|---|---|
| Ptr | Unaligned memory pointer to the RGB10A2(4 bytes). |