pack2x16snorm
On this page

pack2x16snorm

Function

Packs a vec2 of values in [-1, 1] into two signed 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 pack2x16snorm(a0: vec2): u32
declare function pack2x16snorm(e: vec2): u32

Parameters

Return value

u32

Description

packSnorm2x16 on GLSL ES 3.00.

Targets

WGSL
pack2x16snorm(a)
GLSL ES 3.00
packSnorm2x16(a)

Examples

See also

Edit this page Report a problem