GPUVertexAttribute constructor
GPUVertexAttribute({
- required GPUVertexFormat format,
- required int offset,
- required int shaderLocation,
Implementation
factory GPUVertexAttribute(
{required GPUVertexFormat format,
required int offset,
required int shaderLocation}) =>
GPUVertexAttribute._(
format: format.value, offset: offset, shaderLocation: shaderLocation);