vec4b
이 페이지에서

vec4b

함수

Builds a vec4b from four bool scalars, a vec3b and a scalar, a vec2b and two scalars, broadcasts a single bool, or converts from a vec4 of a different element kind.

이름마다 붙은 시그니처와 설명은 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

declare function vec4b(): vec4b
declare function vec4b(x: bool, y: bool, z: bool, w: bool): vec4b
declare function vec4b(v: vec3b, w: bool): vec4b
declare function vec4b(v: vec2b, z: bool, w: bool): vec4b
declare function vec4b(x: bool, v: vec2b, w: bool): vec4b
declare function vec4b(x: bool, y: bool, v: vec2b): vec4b
declare function vec4b(x: bool, v: vec3b): vec4b
declare function vec4b(a: vec2b, b: vec2b): vec4b
declare function vec4b(scalar: bool): vec4b
declare function vec4b(v: vec4b): vec4b
declare function vec4b(v: vec4): vec4b
declare function vec4b(v: vec4i): vec4b
declare function vec4b(v: vec4u): vec4b

매개변수

반환값

vec4b

설명

A comparison of two vec4 values yields one.

함께 보기

이 페이지 편집 문제 보고