texture2dArrayfT
Constant in Types
A sampled 2D array texture: one texture object with N independently addressable layers.
import { texture2dArrayfT } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const texture2dArrayfT: { readonly kind: "texture"; readonly dim: "2d-array"; readonly elem: "f32"; }Description
The layer is an argument of each sample call, so N layers
cost one binding slot and one bind-group switch. Core in both targets, so it needs no
Capability.
See also
Source
src/core/ir/types/texture-types.ts, line 36, at commit af54ddad5