The QSurfaceFormat.setSwapBehavior is a function in the C++ programming language that is used to set the swapping behavior for the underlying surface format of a QSurface. Swapping behavior refers to how the buffer is updated when new content is rendered to the surface. The available options for swap behavior include swapping the buffers immediately or synchronizing with the vertical refresh rate of the display. This function allows developers to specify the desired behavior for their application, depending on their needs for performance or display synchronization.
C++ (Cpp) QSurfaceFormat::setSwapBehavior - 24 examples found. These are the top rated real world C++ (Cpp) examples of QSurfaceFormat::setSwapBehavior extracted from open source projects. You can rate examples to help us improve the quality of examples.