N E W

UnpackFloatNode

Last modified: Nov 23, 2025

This node represents an operation that unpacks values from a 32-bit unsigned integer, reinterpreting the results as a floating-point vector

Constructor

new UnpackFloatNode(encoding, uintNode)
ParameterTypeDefault Value
encoding"snorm" | "unorm" | "float16"
uintNodeNode
AccessorTypeModifiers
get typestringstatic
MethodTypeModifiers

Extends

TempNode
N E W

unpackSnorm2x16

ParameterTypeDefault Value
valueNode<uint>

Returns

Node
N E W

unpackUnorm2x16

ParameterTypeDefault Value
valueNode<uint>

Returns

Node
N E W

unpackHalf2x16

ParameterTypeDefault Value
valueNode<uint>

Returns

Node