---
title: "texture2dfT: TypeShade 셰이더 API의 타입 분류 상수 참조 문서"
description: "texture2dfT, TypeShade API의 타입 분류에 속하는 상수입니다. 샘플링하는 2D float 텍스처입니다. textureSample과 textureLoad가 쓰는 일반적인 단일 레이어 바인딩 타입이며, 색 램프, 룩업 테이블…"
url: https://typeshade.dev/ko/api/texture2dft/
language: ko
---

# `texture2dfT`

상수, 타입 분류

샘플링하는 2D float 텍스처입니다. `textureSample`과 `textureLoad`가 쓰는 일반적인 단일 레이어 바인딩 타입이며, 색 램프, 룩업 테이블, 아틀라스에 씁니다(resource).

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

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

## 구문

```ts
const texture2dfT: { readonly kind: "texture"; readonly dim: "2d"; readonly elem: "f32"; }
```

## 설명

정확한 정수 텍셀이 필요하면 [`texture2duT`](https://typeshade.dev/ko/api/texture2dut/) 또는 [`texture2diT`](https://typeshade.dev/ko/api/texture2dit/)를 씁니다.

## 함께 보기

- [`textureSample`](https://typeshade.dev/ko/api/texturesample/)
- [`textureLoad`](https://typeshade.dev/ko/api/textureload/)
- [`texture2duT`](https://typeshade.dev/ko/api/texture2dut/)
- [`texture2diT`](https://typeshade.dev/ko/api/texture2dit/)

## 소스

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