end

fun end()(source)

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

MDN Reference