unpack2x16unorm
On this page

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

Parameters

Return value

vec2

Description

unpackUnorm2x16 on GLSL ES 3.00.

Targets

WGSL
unpack2x16unorm(a)
GLSL ES 3.00
unpackUnorm2x16(a)

Examples

See also

Edit this page Report a problem