Sampler object used to sample textures in a shader.

Hierarchy

  • components
    • Sampler

Constructors

Properties

_device?: GPUDevice
binding: number
canvas?: HTMLCanvasElement
canvasFormat: GPUTextureFormat = ...
gpuSampler?: GPUSampler
label?: string
samplerOptions: GPUSamplerDescriptor = ...
visibility: number

Methods

  • Parameters

    • canvas: HTMLCanvasElement

    Returns void

  • Parameters

    • label: string

    Returns void

Generated using TypeDoc