---
title: "TextureLoad2dKey: type in Types, TypeShade API reference"
description: "TextureLoad2dKey, a type in Types. Every non-array texture key a texel load accepts: the three sampled elements plus the multisampled f32 texture."
url: https://typeshade.dev/api/textureload2dkey/
language: en
---

# `TextureLoad2dKey`

Type in Types

Every non-array texture key a texel load accepts: the three sampled elements plus the multisampled `f32` texture.

`import type { TextureLoad2dKey } from 'typeshade'`
`import type { TextureLoad2dKey } from 'typeshade/core/ir'`

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

## Syntax

```ts
type TextureLoad2dKey =
  'texture_2d<f32>' | 'texture_2d<u32>' | 'texture_2d<i32>' | 'texture_multisampled_2d<f32>';
```

## Source

[`src/core/ir/node.ts`, line 1860](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L1860), at commit af54ddad5
