GpuVertexBufferLayout constructor

const GpuVertexBufferLayout({
  1. required int stride,
  2. required List<GpuVertexAttribute> attributes,
  3. bool perInstance = false,
})

A slot whose elements are stride bytes apart.

Implementation

const GpuVertexBufferLayout({
  required this.stride,
  required this.attributes,
  this.perInstance = false,
});