---
title: "vec2iT: constant in Types, TypeShade API reference"
description: "vec2iT, a constant in Types. A native vec2<i32>. Build a value with the vec2i constructor, for example a texel coordinate for textureLoad."
url: https://typeshade.dev/api/vec2it/
language: en
---

# `vec2iT`

Constant in Types

A native `vec2<i32>`. Build a value with the `vec2i` constructor, for example a texel coordinate for `textureLoad`.

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

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

## Syntax

```ts
const vec2iT: { readonly kind: "vec"; readonly n: 2; readonly elem: "i32"; }
```

## See also

- [`vec2i`](https://typeshade.dev/api/vec2i/)
- [`textureLoad`](https://typeshade.dev/api/textureload/)

## Source

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