Sampler
On this page

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 only object

Escape hatch (Rule 11.17): the GPUSampler or WebGLSampler the sampler holds.

Source

src/runtime/resources.ts, line 85, at commit af54ddad5

Edit this page Report a problem