texture2dArrayfT
Constant in Types
A sampled 2D array texture: one texture object with N independently addressable layers.
import { texture2dArrayfT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
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.
In the guide
See also
Source
src/core/ir/types.ts, line 608, at commit 26de7be8