---
title: "mat2x4f: type in Runtime, TypeShade API reference"
description: "mat2x4f, a type in Runtime. WGSL's mat2x4f, the same type as mat2x4. The program runtime that runs compiled programs on WebGPU…"
url: https://typeshade.dev/api/mat2x4f/
language: en
---

# `mat2x4f`

Type in Runtime

WGSL's `mat2x4f`, the same type as `mat2x4`.

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

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

## Syntax

```ts
type mat2x4f = mat2x4;
```

## See also

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

## Source

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