Gui.isGpuRenderingEnabled
Client-Side Property
JavaScript |
---|
Read-only property which returns whether the player has enabled the 'Acclerated CEF rendering' setting in the launcher.
JavaScript Syntax
Syntax
mp.gui.isGpuRenderingEnabled;
Return value
- Boolean
Example
Client-Side
let isGpuRenderingEnabled = mp.gui.isGpuRenderingEnabled;
mp.gui.chat.push("GPU Rendering Enabled: " + isGpuRenderingEnabled);