| 167 | } |
| 168 | |
| 169 | std::shared_ptr<IBlob> TextureCache::ReadTextureFile(const std::filesystem::path& path) const |
| 170 | { |
| 171 | auto fileData = m_fs->readFile(path); |
| 172 | |
| 173 | if (!fileData) |
| 174 | log::message(m_ErrorLogSeverity, "Couldn't read texture file '%s'", path.generic_string().c_str()); |
| 175 | |
| 176 | return fileData; |
| 177 | } |
| 178 | |
| 179 | std::shared_ptr<TextureData> TextureCache::CreateTextureData() |
| 180 | { |