texture_list::iterator find_texture(i_image const &aImage, rect const &aImagePart)
neolib::pair< texture_pointer, uint32_t > texture_list_entry
void find_texture(texture_id aId, i_ref_ptr< i_texture > &aResult) const override
void add_ref(texture_id aId) override
friend neolib::cookie item_cookie(texture_list_entry const &)
std::unique_ptr< i_texture_atlas > create_texture_atlas(size const &aSize=size{ 1024.0, 1024.0 }) override
friend class texture_wrapper
void release(texture_id aId) override
void clear_textures() override
texture_list & textures()
texture_list::const_iterator find_texture(i_image const &aImage, rect const &aImagePart) const
ref_ptr< i_texture > add_texture(i_ref_ptr< i_native_texture > const &aTexture)
texture_id allocate_texture_id() override
long use_count(texture_id aId) const override
const texture_list & textures() const
neolib::jar< texture_list_entry > texture_list
ref_ptr< i_texture > texture_pointer