---
title: "texture_depth_multisampled_2d: type, TypeShade reference"
description: "texture_depth_multisampled_2d, a type in the TypeShade language reference."
url: https://typeshade.dev/reference/types/texture_depth_multisampled_2d/
language: en
---

# `texture_depth_multisampled_2d`

Type

The depth attachment of a multisampled target, read one sample at a time with `textureLoad`.

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

## Syntax

```ts
type texture_depth_multisampled_2d = { readonly [depthTextureTag]: '2d-ms' }
```

## Description

Declared bare as `declare const t: texture_depth_multisampled_2d`; it derives the `msaaTextureLoad` capability, whose GLSL lowering is not supported yet ([Rule 10.5](https://typeshade.dev/reference/rules/10-5/)).

## Examples

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

## See also

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