A texture used in a hymn.
Definition: TextureAsset.hpp:12
~TextureAsset()
Destructor.
Definition: TextureAsset.cpp:24
void Save() const
Save the texture asset.
Definition: TextureAsset.cpp:28
std::string path
The folder containing the texture files.
Definition: TextureAsset.hpp:58
void Load(const std::string &name)
Load texture asset from disk.
Definition: TextureAsset.cpp:30
Video::Texture2D * GetTexture() const
Get the texture.
Definition: TextureAsset.cpp:46
TextureAsset(Video::LowLevelRenderer *lowLevelRenderer)
Create new texture asset.
Definition: TextureAsset.cpp:11
std::string name
The name of the texture.
Definition: TextureAsset.hpp:55
A two-dimensional texture.
Definition: Texture2D.hpp:10