VertexAttribute constructor

const VertexAttribute({
  1. required WGPUVertexFormat format,
  2. required int offset,
  3. required int shaderLocation,
})

Implementation

const VertexAttribute({
  required this.format,
  required this.offset,
  required this.shaderLocation,
});