sampler
On this page

sampler

Type

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

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

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