textureDepth2dT
Constant in Types
A 2D depth texture, the texture a shadow map is.
import { textureDepth2dT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const textureDepth2dT: { readonly kind: "depth-texture"; readonly dim: "2d"; }Description
Single-channel
float with no element type of its own, and a read of one yields f32, not vec4.
Source
src/core/ir/types.ts, line 679, at commit 26de7be8