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

# `vec4u`

Type in Runtime

A `vec4u` as a host value: a readonly tuple of four `u32`.

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

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

## Syntax

```ts
type vec4u = readonly [u32, u32, u32, u32];
```

## 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 82](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L82), at commit af54ddad5
