Skip to content

@graphty/cytoscape-extensions / index / WebGpuOptions

Interface: WebGpuOptions ​

Defined in: cytoscape-extensions/src/gpu.ts:107

Options of configureWebGpu, for every core.

Properties ​

acceptSoftware? ​

readonly optional acceptSoftware?: boolean

Defined in: cytoscape-extensions/src/gpu.ts:112

Accept a software adapter (llvmpipe, SwiftShader, WARP). Default false: a software adapter is usually slower than the CPU implementation, so the CPU runs and the result says why.


adapter? ​

readonly optional adapter?: string

Defined in: cytoscape-extensions/src/gpu.ts:114

Node only: a substring of the Dawn adapter name to pick ("llvmpipe", "4070"). Ignored in a browser.