Screenshot and stuff

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2026-03-05 08:35:11 +02:00
parent 0d3a03a93e
commit 918568e7e6
10 changed files with 650 additions and 79 deletions

View File

@@ -1,7 +1,18 @@
#include "Util.h"
#include <cstdlib>
#include <span>
namespace Lunar {
auto tracy_runtime_enabled() -> bool
{
static bool enabled = std::getenv("LUNAR_NO_TRACY") == nullptr;
return enabled;
}
} // namespace Lunar
namespace vkutil {
auto transition_image(vk::CommandBuffer cmd, vk::Image image,