ADD: changeable resolution

This commit is contained in:
2025-12-13 23:26:35 +09:00
parent d3ab4d18a8
commit eb5a04e95a
8 changed files with 285 additions and 104 deletions

View File

@@ -203,6 +203,12 @@ public:
//run main loop
void run();
// Rendering resolution controls:
// - logicalRenderExtent controls camera aspect and picking (letterboxed view).
// - renderScale controls the internal render target pixel count (logical * scale).
void set_logical_render_extent(VkExtent2D extent);
void set_render_scale(float scale);
// Query a conservative streaming texture budget for the texture cache.
size_t query_texture_budget_bytes() const;