---
title: "textureDepthMultisampled2dT: TypeShade API의 타입 분류 상수 참조 문서"
description: "textureDepthMultisampled2dT, TypeShade API의 타입 분류에 속하는 상수입니다. 다중 샘플 깊이 텍스처입니다. MSAA 렌더 타깃의 깊이 어태치먼트이며, textureLoad로 샘플을 하나씩 읽습니다."
url: https://typeshade.dev/ko/api/texturedepthmultisampled2dt/
language: ko
---

# `textureDepthMultisampled2dT`

상수, 타입 분류

다중 샘플 깊이 텍스처입니다. MSAA 렌더 타깃의 깊이 어태치먼트이며, `textureLoad`로 샘플을 하나씩 읽습니다. 샘플링하거나 비교하지 않습니다.

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

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

## 구문

```ts
const textureDepthMultisampled2dT: { readonly kind: "depth-texture"; readonly dim: "2d-ms"; }
```

## 설명

`msaaTextureLoad` 기능이 있을 때만 WebGPU에서 쓸 수 있습니다. 다중 샘플 텍스처의 GLSL 하향 변환은 아직 지원하지 않습니다([Rule 10.5](https://typeshade.dev/ko/reference/rules/10-5/)).

## 소스

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