Skip to content

Class: VertexBufferLayout

Implements

  • GPUVertexBufferLayout

Constructors

Properties

Constructors

constructor

new VertexBufferLayout(): VertexBufferLayout

Returns

VertexBufferLayout

Properties

name

name: string

Defined in

src/core/geometry/VertexAttribute.ts:3


offset

offset: number

Defined in

src/core/geometry/VertexAttribute.ts:4


size

size: number

Defined in

src/core/geometry/VertexAttribute.ts:5


arrayStride

arrayStride: number

Implementation of

GPUVertexBufferLayout.arrayStride

Defined in

src/core/geometry/VertexAttribute.ts:6


stepMode

Optional stepMode: GPUVertexStepMode

Implementation of

GPUVertexBufferLayout.stepMode

Defined in

src/core/geometry/VertexAttribute.ts:7


attributes

attributes: Iterable<GPUVertexAttribute>

Implementation of

GPUVertexBufferLayout.attributes

Defined in

src/core/geometry/VertexAttribute.ts:8