texture1dfT
Constant in Types
A sampled float 1D texture: a row of texels addressed by one f32, the shape a transfer function or a colour ramp takes.
import { texture1dfT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const texture1dfT: { readonly kind: "texture"; readonly dim: "1d"; readonly elem: "f32"; }Description
WebGPU only:
GLSL ES 3.00 has no sampler1D (the word is reserved), so a module carrying one needs the
texture1d Capability, which the GLSL backend has no row for.
See also
Source
src/core/ir/types.ts, line 728, at commit 26de7be8