#pragma once #include "common.hpp" #include namespace aurora::gfx::depth_peek { void initialize(); void shutdown(); void request_snapshot() noexcept; bool read_latest(uint16_t x, uint16_t y, uint32_t& z) noexcept; void encode_frame_snapshot(const wgpu::CommandEncoder& cmd, const wgpu::TextureView& depthView, wgpu::Extent3D sourceSize, uint32_t msaaSamples) noexcept; void after_submit() noexcept; namespace testing { void reset() noexcept; bool snapshot_requested() noexcept; void set_latest(uint32_t width, uint32_t height, const std::vector& data); } // namespace testing } // namespace aurora::gfx::depth_peek