---
title: "textureDepthMultisampled2dT: constant in Types, TypeShade"
description: "textureDepthMultisampled2dT, a constant in Types. A multisampled depth texture: the depth attachment of an MSAA render target…"
url: https://typeshade.dev/api/texturedepthmultisampled2dt/
language: en
---

# `textureDepthMultisampled2dT`

Constant in Types

A multisampled depth texture: the depth attachment of an MSAA render target, read one sample at a time with `textureLoad` and never sampled or compared.

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

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

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

## Description

WebGPU only, under `msaaTextureLoad`: the GLSL lowering of a multisampled texture is not supported yet ([Rule 10.5](https://typeshade.dev/reference/rules/10-5/)).

## Source

[`src/core/ir/types/texture-types.ts`, line 189](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/texture-types.ts#L189), at commit af54ddad5
