2
* @file ucube/image.cpp
3
* @brief Implemntation of the ucube image module.
5
* Copyright 2010 Stephen M. Webb <stephen.webb@canonical.com>
7
* This propgram is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License as published by the Free Software
9
* Foundation; either version 3 of the License, or (at your option) any later
12
* This library is distributed in the hope that it will be useful, but WITHOUT
13
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17
* You should have received a copy of the GNU General Public License along with
18
* this program; if not, write to the Free Software Foundation, Inc., 51
19
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef INCLUDE_UCUBE_IMAGE_H_
22
#define INCLUDE_UCUBE_IMAGE_H_
30
* Encapsulates a image.
35
/** @brief Loads the image image and creates the OpenGL textures. */
36
Image(const std::string& name);
38
/** @brief Disposes of the image. */
41
GLuint texture() const;
54
#endif // INCLUDE_UCUBE_IMAGE_H_