pack2x16unorm
On this page

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): u32
declare function pack2x16unorm(e: vec2): u32

Parameters

Return value

u32

Description

packUnorm2x16 on GLSL ES 3.00.

Targets

WGSL
pack2x16unorm(a)
GLSL ES 3.00
packUnorm2x16(a)

Examples

See also

Edit this page Report a problem