VertexBuffer constructor
- required int strideInBytes,
- required List<
VertexAttribute> attributes, - VertexStepMode stepMode = VertexStepMode.vertex,
Creates a vertex buffer slot description with the given per-element
strideInBytes and the list of attributes that the vertex shader
reads from this buffer.
Implementation
const VertexBuffer({
required this.strideInBytes,
required this.attributes,
this.stepMode = VertexStepMode.vertex,
});