pipeline abstract method

GpuPipeline pipeline(
  1. GpuShader vertex,
  2. GpuShader fragment, {
  3. GpuVertexLayout? layout,
})

The pipeline for vertex and fragment reading layout (null: the vertex shader's inputs, interleaved in declaration order). Cached: the same arguments return the same pipeline.

Implementation

GpuPipeline pipeline(
  GpuShader vertex,
  GpuShader fragment, {
  GpuVertexLayout? layout,
});