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