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

◆ get_current_swapchain_image

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

Get the VkImage bits for the most recently acquired swapchain image.

Parameters
window_handleWindow handle.
Returns
VkImage cast to uint64_t, or 0 if no image has been acquired yet.

Safe to call after acquire_next_swapchain_image() has been invoked for the current frame. Does not advance the frame index or wait on any fence. Intended for read-only operations such as pixel readback.

Definition at line 104 of file DisplayService.hpp.