vec2iT
On this page

vec2iT

Constant in Types

A native vec2<i32>. Build a value with the vec2i constructor, for example a texel coordinate for textureLoad.

import { vec2iT } from 'typeshade'

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

Syntax

const vec2iT: { readonly kind: "vec"; readonly n: 2; readonly elem: "i32"; }

In the guide

See also

Source

src/core/ir/types.ts, line 487, at commit 26de7be8

Edit this page Report a problem