VectorStoreURGB10A2N

Converts the 4 FLOATs in the vector RGB10A2, clamped to [0, 1023] and [0, 3], and stores to unaligned memory.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathFPU.h"

Syntax

void VectorStoreURGB10A2N
(
    const VectorRegister & Vec,
    void * Ptr
)

Remarks

Converts the 4 FLOATs in the vector RGB10A2, clamped to [0, 1023] and [0, 3], 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 packed RGB10A2(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