new Sampler(options: SamplerOptions): Sampler
binding: number
canvas: HTMLCanvasElement
canvasFormat: GPUTextureFormat
context: GPUCanvasContext
gpuSampler: GPUSampler
label: string
samplerOptions: GPUSamplerDescriptor
visibility: number
getDevice(): Promise<GPUDevice>
setCanvas(canvas: HTMLCanvasElement): void
setDevice(d: GPUDevice): void
setLabel(label: string): void
updateSampler(options: GPUSamplerDescriptor): Promise<void>
You are viewing the beta docs. You may find the legacy docs more helpful.