tvmjs
Preparing search index...
detectGPUDevice
Function detectGPUDevice
detectGPUDevice
(
powerPreference
?:
"low-power"
|
"high-performance"
,
)
:
Promise
<
GPUDeviceDetectOutput
>
DetectGPU device in the environment.
Parameters
powerPreference
:
"low-power"
|
"high-performance"
= "high-performance"
Returns
Promise
<
GPUDeviceDetectOutput
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
tvmjs
Loading...
DetectGPU device in the environment.