---
title: "texture_depth_2d_array: type, TypeShade language reference"
description: "texture_depth_2d_array, a type in the TypeShade language reference. An array of 2D depth textures in one binding, picked by an integer layer…"
url: https://typeshade.dev/reference/types/texture_depth_2d_array/
language: en
---

# `texture_depth_2d_array`

Type

An array of 2D depth textures in one binding, picked by an integer layer, as shadow cascades are.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
type texture_depth_2d_array = { readonly [depthTextureTag]: true }
```

## Description

Declared bare as `declare const t: texture_depth_2d_array`.

## Examples

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

## See also

- [Types](https://typeshade.dev/reference/types/)
