The finish() method of the GPURenderBundleEncoder interface completes recording of the current render bundle command sequence, returning a GPURenderBundle object that can be passed into a GPURenderPassEncoder.executeBundles() call to execute those commands in a specific render pass.
Optionaldescriptor: GPURenderBundleDescriptorOptionaldynamicOffsets: number[]OptionaldynamicOffsets: Iterable<number>Optionaloffset: numberOptionalsize: numberOptionaloffset: numberOptionalsize: number
The
GPURenderBundleEncoderinterface of the WebGPU API is used to pre-record bundles of commands. Available only in secure contexts.MDN Reference