---
title: "mat2x3: type in Runtime, TypeShade API reference"
description: "mat2x3, a type in Runtime. A mat2x3, 2 columns of 3 rows, as a host value: a readonly tuple of its 6 components, column-major."
url: https://typeshade.dev/api/mat2x3/
language: en
---

# `mat2x3`

Type in Runtime

A `mat2x3`, 2 columns of 3 rows, as a host value: a readonly tuple of its 6 components, column-major.

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

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

## Syntax

```ts
type mat2x3 = readonly [f32, f32, f32, f32, f32, f32] & { readonly [tag]?: 'mat2x3' };
```

## Source

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