VertexAttribute constructor

const VertexAttribute({
  1. required String name,
  2. required VertexFormat format,
  3. int offsetInBytes = 0,
})

Implementation

const VertexAttribute({required this.name, required this.format, this.offsetInBytes = 0});