---
title: "vec4f in WGSL, GLSL and TypeShade: shader type reference"
description: "vec4f is vec4<f32> in WGSL and vec4 in GLSL ES 3.00. A four-component vector of f32, same type as vec4."
url: https://typeshade.dev/reference/types/vec4f/
language: en
---

# `vec4f`

Type

A four-component vector of `f32`, same type as `vec4`.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
type vec4f = vec4
```

## See also

- [Types](https://typeshade.dev/reference/types/)
