Skip to main content

Function: setUseCPURendering()

setUseCPURendering(status, updateViewports): void

It sets the useCPURenderingOnlyForDebugOrTests variable to the status value. This only should be used for debugging or tests. DO NOT USE IT IF YOU ARE NOT SURE WHAT YOU ARE DOING.

Parameters

status: boolean

boolean

updateViewports: boolean = true

Returns

void

Defined in

packages/core/src/init.ts:142