VectorStoreSignedByte4

Converts the 4 FLOATs in the vector to 4 BYTEs, clamped to [-127,127], and stores to unaligned memory.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathSSE.h

Include

#include "Math/UnrealMathSSE.h"

Syntax

void VectorStoreSignedByte4
(
    const VectorRegister & 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

Parameter

Description

Vec

Vector containing 4 FLOATs

Ptr

Unaligned memory pointer to store the 4 BYTEs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss