The end() method of the GPURenderPassEncoder interface completes recording of the current render pass command sequence.
end()
MDN Reference