GPUVertexBufferLayout constructor
GPUVertexBufferLayout({
- required int arrayStride,
- GPUVertexStepMode? stepMode,
- Iterable<
GPUVertexAttribute> ? attributes,
Implementation
factory GPUVertexBufferLayout(
{required int arrayStride,
GPUVertexStepMode? stepMode,
Iterable<GPUVertexAttribute>? attributes}) =>
GPUVertexBufferLayout._(
arrayStride: arrayStride,
stepMode: stepMode?.value ?? GPUVertexStepMode.vertex.value,
attributes: attributes ?? undefined);