texture_depth_2d
On this page

texture_depth_2d

Type

A 2D depth texture, single-channel float, read with textureSampleCompare through a sampler_comparison or with textureLoad.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

Syntax

type texture_depth_2d = { readonly [depthTextureTag]: false }

Description

Declared bare as declare const shadowMap: texture_depth_2d.

Examples

See also

Edit this page Report a problem