unpack2x16unorm
Function
Unpacks the two 16-bit halves of a u32 into a vec2 of values in [0, 1], the low 16 bits into component 0.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function unpack2x16unorm(a0: u32): vec2declare function unpack2x16unorm(e: u32): vec2Parameters
-
eu32
Return value
Description
unpackUnorm2x16 on GLSL ES 3.00.
Targets
- WGSL
-
unpack2x16unorm(a) - GLSL ES 3.00
-
unpackUnorm2x16(a)