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