| Spices::Texture2D::Texture2D | ( | const std::string & | path | ) |
Constructor Function. Init class variable, load date immediately. Usually call it.
| [in] | path | Image Path in disk. @noto Do not execute Texture::Texture(const std::string& path). |
Definition at line 93 of file Texture2D.cpp.
References Spices::TextureLoader::Load(), and Spices::Texture::m_ResourcePath.