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

◆ ensure_depth_attachment

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

Ensure a depth attachment image exists for the window.

Parameters
window_handleWindow handle

Lazily creates a D32_SFLOAT depth image matching the current swapchain extent. Recreates if extent has changed. No-op if depth image already exists at correct size.

Definition at line 144 of file DisplayService.hpp.