pack2x16float
Function
Packs a vec2 into two IEEE-754 binary16 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 pack2x16float(a0: vec2): u32declare function pack2x16float(e: vec2): u32Parameters
-
evec2
Return value
Description
packHalf2x16 on GLSL ES 3.00.
Targets
- WGSL
-
pack2x16float(a) - GLSL ES 3.00
-
packHalf2x16(a)