bool HasData() const
Indicates if a texture object contains data.
bool DrawOGL() const
Sets the texture to draw with the next object.
2D image to use as texture.
Texture & operator=(const Texture &texture)
Copies texture data.
Texture()
Creates an unitialized texture.
bool HasTextureLoad() const
Indicates if a texture has been loaded previously.
bool LoadFromFile(const std::string &fileName)
Loads a texture from a file.