vec3b
Function
Builds a vec3b from three bool scalars, a vec2b and a scalar, broadcasts a single bool, or converts from a vec3 of a different element kind.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function vec3b(): vec3bdeclare function vec3b(x: bool, y: bool, z: bool): vec3bdeclare function vec3b(v: vec2b, z: bool): vec3bdeclare function vec3b(x: bool, v: vec2b): vec3bdeclare function vec3b(scalar: bool): vec3bdeclare function vec3b(v: vec3b): vec3bdeclare function vec3b(v: vec3): vec3bdeclare function vec3b(v: vec3i): vec3bdeclare function vec3b(v: vec3u): vec3bParameters
Return value
vec3b
Description
A comparison of two vec3 values yields one.