texture2diT
Constant in Types
A signed-integer 2D texture: the signed twin of texture2duT, with the same load-only contract.
import { texture2diT } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const texture2diT: { readonly kind: "texture"; readonly dim: "2d"; readonly elem: "i32"; }See also
Source
src/core/ir/types/texture-types.ts, line 59, at commit af54ddad5