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

◆ get_image_format()

Portal::Graphics::ImageFormat MayaFlux::Kakshya::WindowContainer::get_image_format ( ) const

Portal ImageFormat corresponding to the live swapchain surface format.

Derived from the actual negotiated swapchain format via DisplayService, not from the WindowCreateInfo declaration. Use this when constructing a TextureBuffer to receive the output of to_image().

Definition at line 69 of file WindowContainer.cpp.

70{
71 return surface_format_to_image_format(query_surface_format(m_window));
72}
std::shared_ptr< Core::Window > m_window
Core::GraphicsSurfaceInfo::SurfaceFormat query_surface_format(const std::shared_ptr< Core::Window > &window)
Query the actual vk::Format in use by the window's live swapchain, translated back to the MayaFlux su...

References m_window, and MayaFlux::Kakshya::query_surface_format().

+ Here is the call graph for this function: