GraphicDescription.collectTransferables Function

Adds to transferables all of the Transferable objects like ArrayBuffers that are included in description. This makes copying a GraphicDescription to and from a Worker much more efficient.

collectTransferables(transferables: Set<Transferable>, description: GraphicDescription): void

Parameter Type Description
transferables Set<Transferable>  
description GraphicDescription  

Returns - void

Defined in

Last Updated: 17 December, 2024