PipelineSpec constructor

const PipelineSpec(
  1. String vertex,
  2. String fragment, {
  3. GpuVertexLayout? layout,
})

The pipeline of vertex and fragment reading layout.

Implementation

const PipelineSpec(this.vertex, this.fragment, {this.layout});