---
title: "vec2bT: TypeShade 셰이더 API의 타입 분류 상수 참조 문서"
description: "vec2bT, TypeShade API의 타입 분류에 속하는 상수입니다. vec2<bool>입니다. 두 vec2 값을 성분별로 비교했을 때 나오는 결과 타입입니다."
url: https://typeshade.dev/ko/api/vec2bt/
language: ko
---

# `vec2bT`

상수, 타입 분류

`vec2<bool>`입니다. 두 `vec2` 값을 성분별로 비교했을 때 나오는 결과 타입입니다.

`import { vec2bT } from 'typeshade/core/ir'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

```ts
const vec2bT: { readonly kind: "vec"; readonly n: 2; readonly elem: "bool"; }
```

## 설명

`any`, `all`, 성분별 `select`가 이 타입을 받습니다. 호스트와 공유할 수 없습니다.

## 소스

[`src/core/ir/types/vector-types.ts`, 45행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/vector-types.ts#L45), 커밋 af54ddad5 기준
