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" |
void VectorStoreSignedByte4
(
const VectorRegister4Float & Vec,
void * Ptr
)
Remarks
Converts the 4 FLOATs in the vector to 4 BYTEs, clamped to [-127,127], and stores to unaligned memory. IMPORTANT: You need to call VectorResetFloatRegisters() before using scalar FLOATs after you've used this intrinsic!
Parameters
| Name | Description |
|---|---|
| Vec | Vector containing 4 FLOATs |
| Ptr | Unaligned memory pointer to store the 4 BYTEs. |