new Attribute(options: AttributeOptions): Attribute
canvas: HTMLCanvasElement
canvasFormat: GPUTextureFormat
context: GPUCanvasContext
cpuBuffer: ArrayType
format: GPUVertexFormat
itemCount: number
itemSize: number
label: string
shaderLocation: number
getDevice(): Promise<GPUDevice>
setCanvas(canvas: HTMLCanvasElement): void
setCpuBuffer(buffer: ArrayType): void
setDevice(d: GPUDevice): void
setLabel(label: string): void
You are viewing the beta docs. You may find the legacy docs more helpful.