---
title: "textureCubefT: TypeShade 셰이더 API의 타입 분류 상수 참조 문서"
description: "textureCubefT, TypeShade API의 타입 분류에 속하는 상수입니다. 샘플링되는 float 큐브 텍스처입니다. 여섯 면을 좌표가 아닌 vec3 Direction으로 조회하며, 환경 맵이나 스카이박스에 쓰이는 형태입니다."
url: https://typeshade.dev/ko/api/texturecubeft/
language: ko
---

# `textureCubefT`

상수, 타입 분류

샘플링되는 float 큐브 텍스처입니다. 여섯 면을 좌표가 아닌 `vec3` Direction으로 조회하며, 환경 맵이나 스카이박스에 쓰이는 형태입니다.

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

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

## 구문

```ts
const textureCubefT: { readonly kind: "texture"; readonly dim: "cube"; readonly elem: "f32"; }
```

## 설명

두 타깃 모두 코어 사양이므로 [`Capability`](https://typeshade.dev/ko/api/capability/)가 필요하지 않습니다. 큐브 텍스처는 샘플링만 할 수 있습니다. 큐브에 대해서는 두 타깃 모두 텍셀 페치를 제공하지 않습니다.

## 함께 보기

- [`Capability`](https://typeshade.dev/ko/api/capability/)

## 소스

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