---
title: "texture2diT: constant in Types, TypeShade API reference"
description: "texture2diT, a constant in Types. A signed-integer 2D texture: the signed twin of texture2duT, with the same load-only contract."
url: https://typeshade.dev/api/texture2dit/
language: en
---

# `texture2diT`

Constant in Types

A signed-integer 2D texture: the signed twin of texture2duT, with the same load-only contract.

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

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

## Syntax

```ts
const texture2diT: { readonly kind: "texture"; readonly dim: "2d"; readonly elem: "i32"; }
```

## See also

- [`texture2duT`](https://typeshade.dev/api/texture2dut/)

## Source

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