d3d_triplebuffer
Activates triple buffering.
This can increase the frame rate in fullscreen mode because it disables synchronization to the monitor frequency (vsync),
but consumes
more video memory for a third screen buffer, and can produce 'tearing' artifacts
on some systems.
Range:
0 - Double buffering (default)
1 - Triple buffering
Type:
var
Remarks:
-
This variable can only be set in before the first frame in lite-C.
-
When d3d_triplebuffer is set, any changes in panels or views need 2 frames for becoming visible on the screen (otherwise, 1 frame).
Example (lite-C):
function main()
{
d3d_triplebuffer = 1; // activate Triple Buffering
...
► latest
version online