#pragma once #include "kage_graphics.h" #include // The images preloaded ahead of their sprites (entity preloads, .anm2 spritesheets), held by their mounted path until // a purge finds nothing else using them. namespace TextureCache { void Add(KAGE::Graphics::ImagePtr image); bool Has(std::string_view path); void Release(std::string_view path); void Purge(); void Preload(std::string_view path); }