---
title: "TextureLoad2dKey: TypeShade 셰이더 API의 타입 분류 타입 참조 문서"
description: "TextureLoad2dKey, TypeShade API의 타입 분류에 속하는 타입입니다. 텍셀 로드가 받는 배열이 아닌 텍스처 키 전부입니다. 샘플링되는 요소 세 가지와 다중 샘플 f32 텍스처를 포함합니다."
url: https://typeshade.dev/ko/api/textureload2dkey/
language: ko
---

# `TextureLoad2dKey`

타입, 타입 분류

텍셀 로드가 받는 배열이 아닌 텍스처 키 전부입니다. 샘플링되는 요소 세 가지와 다중 샘플 `f32` 텍스처를 포함합니다.

`import type { TextureLoad2dKey } from 'typeshade'`
`import type { TextureLoad2dKey } from 'typeshade/core/ir'`

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

## 구문

```ts
type TextureLoad2dKey =
  'texture_2d<f32>' | 'texture_2d<u32>' | 'texture_2d<i32>' | 'texture_multisampled_2d<f32>';
```

## 소스

[`src/core/ir/node.ts`, 1860행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L1860), 커밋 af54ddad5 기준
