MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ submit_and_present

std::function<void(const std::shared_ptr<void>&, uint64_t)> MayaFlux::Registry::Service::DisplayService::submit_and_present

Submit a primary command buffer and present the frame.

Parameters
window_handleWindow handle
primary_command_bufferThe primary command buffer (uint64_t bits of vk::CommandBuffer)

Handles semaphore choreography: waits on image_available, signals render_finished, then presents. Must be called after acquire_next_swapchain_image().

Definition at line 21 of file DisplayService.hpp.