vec3b
이 페이지에서

vec3b

함수

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.

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

구문

declare function vec3b(): vec3b
declare function vec3b(x: bool, y: bool, z: bool): vec3b
declare function vec3b(v: vec2b, z: bool): vec3b
declare function vec3b(x: bool, v: vec2b): vec3b
declare function vec3b(scalar: bool): vec3b
declare function vec3b(v: vec3b): vec3b
declare function vec3b(v: vec3): vec3b
declare function vec3b(v: vec3i): vec3b
declare function vec3b(v: vec3u): vec3b

매개변수

반환값

vec3b

설명

A comparison of two vec3 values yields one.

예제

함께 보기

이 페이지 편집 문제 보고