pipeline method
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
@override
GpuPipeline pipeline(
GpuShader vertex,
GpuShader fragment, {
GpuVertexLayout? layout,
}) => _pipelines.putIfAbsent((vertex, fragment, layout?.key ?? ''), () {
log.add('pipeline ${vertex.name}+${fragment.name}');
return _NullPipeline(vertex, fragment);
});