---
title: "vec4i: type in Runtime, TypeShade API reference"
description: "vec4i, a type in Runtime. A vec4i as a host value: a readonly tuple of four i32."
url: https://typeshade.dev/api/vec4i-type/
language: en
---

# `vec4i`

Type in Runtime

A `vec4i` as a host value: a readonly tuple of four `i32`.

`import type { vec4i } from 'typeshade/runtime'`

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

## Syntax

```ts
type vec4i = readonly [i32, i32, i32, i32];
```

## In the guide

- [Values and mutation](https://typeshade.dev/guide/internals/values-and-mutation/)
- [Layouts and resources](https://typeshade.dev/guide/internals/layouts-and-resources/)

## Source

[`src/runtime/host-types.ts`, line 76](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L76), at commit af54ddad5
