VectorStoreByte4

Converts the 4 floats in the vector to 4 uint8s, clamped to [0,255], and stores to unaligned memory.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathNeon.h"

Syntax

void VectorStoreByte4
(
    VectorRegister Vec,
    void * Ptr
)

Remarks

Converts the 4 floats in the vector to 4 uint8s, clamped to [0,255], 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 uint8s.

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