Skip to content

Class: VertexAttribute

Implements

  • GPUVertexAttribute

Constructors

Properties

Constructors

constructor

new VertexAttribute(): VertexAttribute

Returns

VertexAttribute

Properties

name

name: string

Defined in

src/core/geometry/VertexAttribute.ts:12


format

format: GPUVertexFormat

Implementation of

GPUVertexAttribute.format

Defined in

src/core/geometry/VertexAttribute.ts:13


offset

offset: number

Implementation of

GPUVertexAttribute.offset

Defined in

src/core/geometry/VertexAttribute.ts:14


shaderLocation

shaderLocation: number

Implementation of

GPUVertexAttribute.shaderLocation

Defined in

src/core/geometry/VertexAttribute.ts:15


stride

stride: number

Defined in

src/core/geometry/VertexAttribute.ts:16

Released under the MIT License