|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Core::GraphicsSurfaceInfo::SurfaceFormat MayaFlux::Kakshya::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 surface format enum.
This is the ground truth for readback allocation — it reflects what the driver actually negotiated, which may differ from the value requested in GlobalGraphicsConfig when the preferred format was unavailable.
| window | Target window. |
Definition at line 111 of file SurfaceUtils.cpp.
References MayaFlux::Core::GraphicsSurfaceInfo::B8G8R8A8_SRGB, and MayaFlux::Core::from_vk_format().
Referenced by MayaFlux::Kakshya::WindowAccessProcessor::on_attach(), and MayaFlux::Kakshya::WindowAccessProcessor::process().
Here is the call graph for this function:
Here is the caller graph for this function: