An attribute object that contains vertex data

Hierarchy

  • components
    • Attribute

Constructors

Properties

_device?: GPUDevice
canvas?: HTMLCanvasElement
canvasFormat: GPUTextureFormat = ...
cpuBuffer: ArrayType

The format that the data is stored in

itemCount: number
itemSize: number
label?: string
shaderLocation: number

Methods

  • Parameters

    • canvas: HTMLCanvasElement

    Returns void

  • Parameters

    • label: string

    Returns void

Generated using TypeDoc