---
title: "texture_depth_2d: TypeShade 언어 참조에 실린 타입 이름과 그 시그니처"
description: "texture_depth_2d (타입), TypeShade 언어 참조 항목입니다. A 2D depth texture, single-channel float…"
url: https://typeshade.dev/ko/reference/types/texture_depth_2d/
language: ko
---

# `texture_depth_2d`

타입

A 2D depth texture, single-channel float, read with `textureSampleCompare` through a `sampler_comparison` or with `textureLoad`.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

## 구문

```ts
type texture_depth_2d = { readonly [depthTextureTag]: false }
```

## 설명

Declared bare as `declare const shadowMap: texture_depth_2d`.

## 예제

- [`gallery/cube-array-gather/cube-array-gather.shade.ts`](https://typeshade.dev/ko/guide/examples/cube-array-gather/)
- [`gallery/shadow-compare/shadow-compare.shade.ts`](https://typeshade.dev/ko/guide/examples/shadow-compare/)

## 함께 보기

- [타입](https://typeshade.dev/ko/reference/types/)
