cache system add lonely functionnality

This commit is contained in:
arthur.jamet
2021-06-09 11:14:53 +02:00
parent aab9477571
commit 70524fa935
13 changed files with 46 additions and 27 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ namespace RAY
public:
//! @brief Create an texture, loading a file
//! @param filename: path to file to load
Texture(const std::string &filename);
//! @param lonely: should be set to true if the entity's loaded data must be independant from others
Texture(const std::string &filename, bool lonely = false);
//! @brief A texture is copy constructable
Texture(const Texture &) = default;