IsBrowserGPUEnabled: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client function}} This function checks if the client has the "Enable GPU rendering" setting enabled, which allows the usage of things like WebGL in browsers. ==Syntax== <syntaxhighlight lang="lua"> bool isBrowserGPUEnabled() </syntaxhighlight> {{OOP||Element/Browser|gpuEnabled}} ===Returns=== Returns ''true'' if the client has browser GPU rendering enabled, ''false'' otherwise. ==See Also== {{CEF_functions}}") |
m (Beta note) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
This function checks if the client has the "Enable GPU rendering" setting enabled, which allows the usage of things like WebGL in browsers. | {{New feature/item|3.0161|1.6.0|22789|This function checks if the client has the "Enable GPU rendering" setting enabled, which allows the usage of things like WebGL in browsers.}} | ||
'''Note''': this is a global setting, not specific to any browser instance and can only be changed by the client. | |||
==Syntax== | ==Syntax== |
Latest revision as of 16:27, 22 October 2024
Note: this is a global setting, not specific to any browser instance and can only be changed by the client.
Syntax
bool isBrowserGPUEnabled()
OOP Syntax Help! I don't understand this!
- Method: Element/Browser(...)
- Variable: .gpuEnabled
Returns
Returns true if the client has browser GPU rendering enabled, false otherwise.
See Also
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools