Gui.isGpuRenderingEnabled: Difference between revisions
(update) |
(added alert) |
||
| Line 1: | Line 1: | ||
{{Note|This function was added with the update of 05.02.2023, and may possibly have been removed again.}} | |||
Function to return whether the player has activated the setting 'Acclerated CEF rendering'. | Function to return whether the player has activated the setting 'Acclerated CEF rendering'. | ||
==Syntax== | ==Syntax== | ||
Revision as of 15:59, 22 February 2023
Function to return whether the player has activated the setting 'Acclerated CEF rendering'.
Syntax
mp.gui.isGpuRenderingEnabled;
Return value
- Boolean
Example
Client-Side
let isGpuRenderingEnabled = mp.gui.isGpuRenderingEnabled;
mp.gui.chat.push("GPU Rendering Enabled: " + isGpuRenderingEnabled);