renderer: use LRU buffer cache collection

This commit is contained in:
nmzik committed 2026-08-24 00:17:02 +02:00
1 parent 11d4c0d2a2
commit 186621c6ff
3 files changed
+43 -47

No files matched your search

+2 -2
View File
@@ -66,8 +66,8 @@ public:
void Fill(uint64_t offset, uint64_t size, uint32_t value);
// BufferCache state lives directly on the resource.
bool is_deleted = false;
uint64_t tick_accessed_last = 0;
bool is_deleted = false;
size_t lru_id = 0;
protected:
[[nodiscard]] GraphicContext& Graphics() const noexcept { return *m_graphics; }