docs: update OSR max FPS number (#26805)
This commit is contained in:
parent
c9b813a1f9
commit
e87061398b
2 changed files with 3 additions and 3 deletions
|
@ -1871,7 +1871,7 @@ Returns `Boolean` - If *offscreen rendering* is enabled returns whether it is cu
|
||||||
* `fps` Integer
|
* `fps` Integer
|
||||||
|
|
||||||
If *offscreen rendering* is enabled sets the frame rate to the specified number.
|
If *offscreen rendering* is enabled sets the frame rate to the specified number.
|
||||||
Only values between 1 and 60 are accepted.
|
Only values between 1 and 240 are accepted.
|
||||||
|
|
||||||
#### `contents.getFrameRate()`
|
#### `contents.getFrameRate()`
|
||||||
|
|
||||||
|
@ -1969,7 +1969,7 @@ The zoom factor is the zoom percent divided by 100, so 300% = 3.0.
|
||||||
#### `contents.frameRate`
|
#### `contents.frameRate`
|
||||||
|
|
||||||
An `Integer` property that sets the frame rate of the web contents to the specified number.
|
An `Integer` property that sets the frame rate of the web contents to the specified number.
|
||||||
Only values between 1 and 60 are accepted.
|
Only values between 1 and 240 are accepted.
|
||||||
|
|
||||||
Only applicable if *offscreen rendering* is enabled.
|
Only applicable if *offscreen rendering* is enabled.
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ project.
|
||||||
* There are two rendering modes that can be used (see the section below) and only
|
* There are two rendering modes that can be used (see the section below) and only
|
||||||
the dirty area is passed to the `paint` event to be more efficient.
|
the dirty area is passed to the `paint` event to be more efficient.
|
||||||
* You can stop/continue the rendering as well as set the frame rate.
|
* You can stop/continue the rendering as well as set the frame rate.
|
||||||
* The maximum frame rate is 60 because greater values bring only performance
|
* The maximum frame rate is 240 because greater values bring only performance
|
||||||
losses with no benefits.
|
losses with no benefits.
|
||||||
* When nothing is happening on a webpage, no frames are generated.
|
* When nothing is happening on a webpage, no frames are generated.
|
||||||
* An offscreen window is always created as a
|
* An offscreen window is always created as a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue