sampler
On this page

sampler

Type

A sampler: how a sampled texture is filtered and addressed when textureSample reads it.

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

Syntax

type sampler = { readonly [samplerTag]: true }

Description

A resource with no type argument, declared bare as declare const smp: sampler.

Examples

See also

Edit this page Report a problem