texture_depth_2d
Type
A 2D depth texture, single-channel float, read with textureSampleCompare through a sampler_comparison or with textureLoad.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
type texture_depth_2d = { readonly [depthTextureTag]: false }Description
Declared bare as declare const shadowMap: texture_depth_2d.