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/core/ir'

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

Syntax

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

See also

Source

src/core/ir/types/vector-types.ts, line 55, at commit af54ddad5

Edit this page Report a problem