Class VertexAttributeObject

A GPU vertex attribute object that is composed of multiple Attributes to be used in a PipelineGroup.

Hierarchy

  • components
    • VertexAttributeObject

Constructors

Properties

_device?: GPUDevice
attributes: Attribute[] = []
canvas?: HTMLCanvasElement
canvasFormat: GPUTextureFormat = ...
cpuBuffer?: ArrayType
gpuBuffer?: GPUBuffer
itemCount: number
label?: string
usage: number = GPUBufferUsage.COPY_DST

Methods

  • Parameters

    • canvas: HTMLCanvasElement

    Returns void

  • Parameters

    • label: string

    Returns void

Generated using TypeDoc