Navigation
API > API/Runtime > API/Runtime/Core
Description
Converts the 4 FLOATs in the vector RGBA16, clamped to [0, 65535], and stores to unaligned memory. IMPORTANT: You need to call VectorResetFloatRegisters() before using scalar FLOATs after you've used this intrinsic!
| Name | VectorStoreURGBA16N |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
void VectorStoreURGBA16N
(
const VectorRegister4Float & Vec,
void * Ptr
)
Parameters
| Name | Remarks |
|---|---|
| Vec | Vector containing 4 FLOATs |
| Ptr | Unaligned memory pointer to store the packed RGBA16(8 bytes). |