Sampler
Interface in Runtime
A sampler the runtime binds by name.
import type { Sampler } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
interface Sampler { readonly sampler: object;}Description
sampler is the GPUSampler itself.
Instance properties
samplerread onlyobjectEscape hatch (Rule 11.17): the
GPUSamplerorWebGLSamplerthe sampler holds.
Source
src/runtime/resources.ts, line 85, at commit af54ddad5