Enum PresentMode
PresentMode is the algorithm driving a swapchain
enum PresentMode
: int { ... }
Enum members
Name | Description |
---|---|
fifo
|
First-in, first-out. The presentation engine waits for the next V-blank to present image, such as tearing cannot be observed. Images are appended at the end of an internal queue and the images are retrieved at the beginning of the queue at each V-Blank. This mode is always available, and should be used for steady throughput of presentation. |
immediate
|
Image is presented immediately, without waiting for V-blank. This mode may cause tearing. |
mailbox
|
This is similar to fifo, with the exception that the internal queue has only one entry, such as if an image is waiting to be presented, and another comes before V-blank, the new image replaces the previous one, such as only the latest image is presented. Tearing cannot be observed. This mode can increase reactivity of application. |