A GPU uniform object that can be used in a BindGroup.

Hierarchy

  • components
    • Uniform

Constructors

Properties

_device?: GPUDevice
binding: number
canvas?: HTMLCanvasElement
canvasFormat: GPUTextureFormat = ...
cpuBuffer?: ArrayType
gpuBuffer?: GPUBuffer
label?: string
usage: number = GPUBufferUsage.COPY_DST
visibility: number

Methods

  • Parameters

    • canvas: HTMLCanvasElement

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    • label: string

    Returns void

  • Returns Promise<void>

Generated using TypeDoc