VertexAttribute constructor
- required String name,
- required VertexFormat format,
- int offsetInBytes = 0,
Creates a vertex attribute description bound to the shader-side input
named name, reading its data in the given format starting at byte
offsetInBytes into each element of the owning vertex buffer.
Implementation
const VertexAttribute({
required this.name,
required this.format,
this.offsetInBytes = 0,
});