Skip to content

CF_PresentMode

Category: app
GitHub: cute_app.h


Describes a swapchain present mode -- vsync off, plain vsync, or low-latency mailbox vsync.

Values

Enum Description
CF_PRESENT_MODE_IMMEDIATE Vsync is off; frames present immediately (tearing may occur).
CF_PRESENT_MODE_VSYNC Vsync is on; frames present synchronized to the display refresh.
CF_PRESENT_MODE_MAILBOX Low-latency vsync; the swapchain may be updated more than once before a frame is presented.

cf_app_get_present_mode
cf_app_set_present_mode
cf_present_mode_string